Re: [PATCH net v2] adding missing rcu_read_unlock in ipxip6_rcv

2017-12-07 Thread David Miller
From: "Nikita V. Shirokov" Date: Wed, 6 Dec 2017 17:15:43 -0800 > commit 8d79266bc48c ("ip6_tunnel: add collect_md mode to IPv6 tunnels") > introduced new exit point in ipxip6_rcv. however rcu_read_unlock is > missing there. this diff is fixing this > > v1->v2: > instead of doing rcu_read_unl

Re: [PATCH net v2] adding missing rcu_read_unlock in ipxip6_rcv

2017-12-06 Thread Alexei Starovoitov
On Wed, Dec 06, 2017 at 05:15:43PM -0800, Nikita V. Shirokov wrote: > commit 8d79266bc48c ("ip6_tunnel: add collect_md mode to IPv6 tunnels") > introduced new exit point in ipxip6_rcv. however rcu_read_unlock is > missing there. this diff is fixing this > > v1->v2: > instead of doing rcu_read_un

[PATCH net v2] adding missing rcu_read_unlock in ipxip6_rcv

2017-12-06 Thread Nikita V. Shirokov
commit 8d79266bc48c ("ip6_tunnel: add collect_md mode to IPv6 tunnels") introduced new exit point in ipxip6_rcv. however rcu_read_unlock is missing there. this diff is fixing this v1->v2: instead of doing rcu_read_unlock in place, we are going to "drop" section (to prevent skb leakage) Signed-