]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
gre: remove unnecessary rcu_read_lock/unlock
authorstephen hemminger <shemminger@vyatta.com>
Mon, 24 Sep 2012 18:12:24 +0000 (18:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2012 22:12:37 +0000 (18:12 -0400)
commit0c5794a66c7c6443759e6098841767958a031187
treebc5206b2ce2fa58fc47f6d94fabc7c1bb9fa6f78
parentd208328765a0ab425e36b5b828285f3337a85451
gre: remove unnecessary rcu_read_lock/unlock

The gre function pointers for receive and error handling are
always called (from gre.c) with rcu_read_lock already held.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c
net/ipv6/ip6_gre.c