commit | e2d1baca2b3396371db0a6e1643e487519122069 | [log] [tgz] |
---|---|---|
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | Fri Aug 28 15:30:55 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 31 12:24:34 2020 -0700 |
tree | 6896a2b8fbf92de1a8e41cb71a1f0399fe1b9401 | |
parent | e859a60add1dd3f844c94c7a782c1a16610bd192 [diff] |
gtp: remove useless rcu_read_lock() The rtnl lock is taken just the line above, no need to take the rcu also. Fixes: 1788b8569f5d ("gtp: fix use-after-free in gtp_encap_destroy()") Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>