sunvnet: fix incorrect rcu_read_unlock() in vnet_start_xmit()
authorDavid L Stevens <david.stevens@oracle.com>
Tue, 9 Dec 2014 02:46:09 +0000 (21:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 02:55:01 +0000 (21:55 -0500)
commit9cdfe2c709c4f6076249ced6844b2bea420739c4
tree8d403c3f2d8831a260955f01db29f761b4445fb7
parent58048e6da769e4d2e1c3ab3d1f2ce3a956230d9d
sunvnet: fix incorrect rcu_read_unlock() in vnet_start_xmit()

This patch removes an extra rcu_read_unlock() on an allocation failure
in vnet_skb_shape(). The needed rcu_read_unlock() is already done in
the out_dropped label.

Reported-by: Rashmi Narasimhan <rashmi.narasimhan@oracle.com>
Signed-off-by: David L Stevens <david.stevens@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet.c