]> git.baikalelectronics.ru Git - kernel.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)
commit017715af3665979384bf593e8dcd3cdfabbcfcfc
treebc5206b2ce2fa58fc47f6d94fabc7c1bb9fa6f78
parent199c71b5dd079836908fde0c7665a55565822866
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