Skip to content
Commit a29c9c43 authored by David L Stevens's avatar David L Stevens Committed by David S. Miller
Browse files

sunvnet: fix potential NULL pointer dereference



One of the error cases for vnet_start_xmit()'s "out_dropped" label
is port == NULL, so only mess with port->clean_timer when port is not NULL.

Signed-off-by: default avatarDavid L Stevens <david.stevens@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e506d405
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment