netfilter: nf_nat: remove obsolete rcu_read_unlock call
authorUlrich Weber <ulrich.weber@sophos.com>
Thu, 20 Sep 2012 03:52:04 +0000 (03:52 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Sep 2012 10:09:25 +0000 (12:09 +0200)
commit136251d02ff283e99f023b0abdeb52b4b3423a56
tree8b65071a9510f6bfe69f6e35e379f6c04a42203f
parentb0cdb1d9a9522b4f0905f11e4c7d7a59e0f7dc44
netfilter: nf_nat: remove obsolete rcu_read_unlock call

hlist walk in find_appropriate_src() is not protected anymore by rcu_read_lock(),
so rcu_read_unlock() is unnecessary if in_range() matches.

This bug was added in (c7232c9 netfilter: add protocol independent NAT core).

Signed-off-by: Ulrich Weber <ulrich.weber@sophos.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_nat_core.c