diff options
author | David L Stevens <david.stevens@oracle.com> | 2015-01-26 15:54:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-27 00:25:21 -0800 |
commit | 07ac3e7099b5788ee4b78233c96532c6209a304b (patch) | |
tree | 0925365f787ab3ec164440078a9b946f4f421a0e /drivers/leds | |
parent | 971f49dee2639badd70bea6cf92e4eaa357ffecf (diff) |
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/leds')
0 files changed, 0 insertions, 0 deletions