gtp: remove unnecessary rcu_read_lock
authorAndreas Schultz <aschultz@tpip.net>
Thu, 26 Jan 2017 15:21:48 +0000 (16:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jan 2017 18:54:00 +0000 (13:54 -0500)
commit10931923b5a5624d254ec3c8db6970f63b277cac
tree0f965c10ef0fea1e736ea917dfa9e6ef98496c05
parent4e8f2fc1a55d543717efb70e170b09e773d0542b
gtp: remove unnecessary rcu_read_lock

The rcu read lock is hold by default in the ip input path. There
is no need to hold it twice in the socket recv decapsulate code path.

Signed-off-by: Andreas Schultz <aschultz@tpip.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gtp.c