sunvnet: fix potential NULL pointer dereference
authorDavid L Stevens <david.stevens@oracle.com>
Wed, 1 Oct 2014 15:05:27 +0000 (11:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2014 19:26:09 +0000 (15:26 -0400)
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: David L Stevens <david.stevens@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found