diff options
author | Taehee Yoo <ap420073@gmail.com> | 2018-09-11 18:20:43 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-09-17 17:11:14 +0300 |
commit | c8204cab9cb503bede29938785b3cdf26a275fa2 (patch) | |
tree | a095ccb9a41af1de10ea9f75506120ccd8cab164 /net/netfilter/nf_conntrack_proto_icmp.c | |
parent | 4430b897a2063c44462e8cea3293ebb5851d9cfd (diff) | |
download | linux-c8204cab9cb503bede29938785b3cdf26a275fa2.tar.xz |
netfilter: nat: remove unnecessary rcu_read_lock in nf_nat_redirect_ipv{4/6}
nf_nat_redirect_ipv4() and nf_nat_redirect_ipv6() are only called by
netfilter hook point. so that rcu_read_lock and rcu_read_unlock() are
unnecessary.
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_proto_icmp.c')
0 files changed, 0 insertions, 0 deletions