Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 136251d0 authored by Ulrich Weber's avatar Ulrich Weber Committed by Pablo Neira Ayuso
Browse files

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 (c7232c99 netfilter: add protocol independent NAT core).

Signed-off-by: default avatarUlrich Weber <ulrich.weber@sophos.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent b0cdb1d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment