]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Zero-out the buffer paased to dcbx_query() API
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Fri, 21 Oct 2016 08:43:44 +0000 (04:43 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 05:00:04 +0000 (21:00 -0800)
commita64ea4704c37f799ac817a2cbcbedfb2340f4ac0
tree108f3569484e6219e2e26f56be0807c68ded81b4
parentd9a1ac19ca7779d221ec801041efeb643ff668ce
qed: Zero-out the buffer paased to dcbx_query() API

Orabug: 25477939

qed_dcbx_query_params() implementation populate the values to input
buffer based on the dcbx mode and, the current negotiated state/params,
the caller of this API need to memset the buffer to zero.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 15c6de2c65048d45484e396194ba2598618d4cb4)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_dcbx.c