Re: [PATCH 4/5] gtp: remove unnecessary rcu_read_lock

2017-01-24 Thread Pablo Neira Ayuso
On Tue, Jan 24, 2017 at 06:24:01PM +0100, Andreas Schultz wrote: > 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. I think this is net-next material since it is not essencial.

[PATCH 4/5] gtp: remove unnecessary rcu_read_lock

2017-01-24 Thread Andreas Schultz
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 --- drivers/net/gtp.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff