summaryrefslogtreecommitdiff
path: root/dissector_eth.h
diff options
context:
space:
mode:
Diffstat (limited to 'dissector_eth.h')
0 files changed, 0 insertions, 0 deletions
move&id=daa86e50f649fccadafc53994ddc4254d75a008b'>drivers parentbf091f3f362b3c562a18bbf7a2d3e2f3a36eba1d (diff)
sunvnet: remove extra rcu_read_unlocks
The RCU read lock is grabbed first thing in sunvnet_start_xmit_common() so it always needs to be released. This removes the conditional release in the dropped packet error path and removes a couple of superfluous calls in the middle of the code. Reported-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com> Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/sun/sunvnet_common.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/ethernet/sun/sunvnet_common.c b/drivers/net/ethernet/sun/sunvnet_common.c