sunvnet: Add missing rcu_read_unlock() in vnet_start_xmit
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Sun, 9 Nov 2014 01:42:20 +0000 (20:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Nov 2014 02:05:36 +0000 (21:05 -0500)
commitdf20286ab1e36eaaf1f6c7e5e2c56bea1ffc26c0
tree5b6407ada4165f5355f1f4e55f07d79f0a1fa417
parent777362d7215f63318fc4a6fae9b320328d92e9f6
sunvnet: Add missing rcu_read_unlock() in vnet_start_xmit

The out_dropped label will only do rcu_read_unlock for non-null port.
So add the missing rcu_read_unlock() when bailing due to non-null port.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet.c