Commit 07bf33d6 authored by David S. Miller's avatar David S. Miller

[VLAN]: Fix thinko in RCU locking.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 15877919
...@@ -244,7 +244,7 @@ int vlan_skb_recv(struct sk_buff *skb, struct net_device *dev, ...@@ -244,7 +244,7 @@ int vlan_skb_recv(struct sk_buff *skb, struct net_device *dev,
/* TODO: Add a more specific counter here. */ /* TODO: Add a more specific counter here. */
stats->rx_errors++; stats->rx_errors++;
} }
rcu_read_lock(); rcu_read_unlock();
return 0; return 0;
} }
......
Markdown is supported
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