summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd/xgbe/xgbe-dcb.c
diff options
context:
space:
mode:
authorDavid L Stevens <david.stevens@oracle.com>2015-01-26 21:54:35 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-27 09:25:21 +0100
commit07ac3e7099b5788ee4b78233c96532c6209a304b (patch)
tree0925365f787ab3ec164440078a9b946f4f421a0e /drivers/net/ethernet/amd/xgbe/xgbe-dcb.c
parentMerge branch 'phy-next' (diff)
downloadlinux-07ac3e7099b5788ee4b78233c96532c6209a304b.tar.xz
linux-07ac3e7099b5788ee4b78233c96532c6209a304b.zip
sunvnet: free pending tx buffers before clearing ring data
This patch moves the clearing of ring data in vnet_port_free_tx_bufs to after the freeing of pending buffers in the ring. Otherwise, this can result in dereferencing a NULL pointer. Reported-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David L Stevens <david.stevens@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd/xgbe/xgbe-dcb.c')
0 files changed, 0 insertions, 0 deletions