diff options
author | David L Stevens <david.stevens@oracle.com> | 2015-01-26 21:54:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-27 09:25:21 +0100 |
commit | 07ac3e7099b5788ee4b78233c96532c6209a304b (patch) | |
tree | 0925365f787ab3ec164440078a9b946f4f421a0e /drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | |
parent | Merge branch 'phy-next' (diff) | |
download | linux-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