netfilter: nat: remove rcu_read_lock in __nf_nat_decode_session.
authorTaehee Yoo <ap420073@gmail.com>
Mon, 27 Mar 2017 15:28:50 +0000 (00:28 +0900)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 13 Apr 2017 20:48:03 +0000 (22:48 +0200)
commit5389023421b8f719fe4f1e6abd3f0bd0e571866e
treede4f29f019e6d167174f437296b7ae9316fec29d
parent4f139972b489f8bc2c821aa25ac65018d92af3f7
netfilter: nat: remove rcu_read_lock in __nf_nat_decode_session.

__nf_nat_decode_session is called from nf_nat_decode_session as decodefn.
before calling decodefn, it already set rcu_read_lock. so rcu_read_lock in
__nf_nat_decode_session can be removed.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_nat_core.c