diff options
author | Nikita V. Shirokov <tehnerd@fb.com> | 2017-12-06 17:15:43 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-07 13:59:37 -0500 |
commit | 74c4b656c3d92ec4c824ea1a4afd726b7b6568c8 (patch) | |
tree | 936133a50a718d218502281293909aff1ff027bc /lib | |
parent | c880949f006f6095295eb596635b599513970ad4 (diff) | |
download | linux-74c4b656c3d92ec4c824ea1a4afd726b7b6568c8.tar.bz2 |
adding missing rcu_read_unlock in ipxip6_rcv
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)
Fixes: 8d79266bc48c ("ip6_tunnel: add collect_md mode to IPv6 tunnels")
Signed-off-by: Nikita V. Shirokov <tehnerd@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions