summaryrefslogtreecommitdiff
path: root/mm/mincore.c
diff options
context:
space:
mode:
authorholger@eitzenberger.org <holger@eitzenberger.org>2013-09-20 20:43:04 (GMT)
committerPablo Neira Ayuso <pablo@netfilter.org>2013-09-27 14:17:47 (GMT)
commitb21613aeb649293946556410ff10dbb8c639f298 (patch)
tree9debb3a0e3bb9b99bf5b7cdacee5e5630e9eec36 /mm/mincore.c
parent8ce440610357b77587433d0df647cea69a6890a8 (diff)
downloadlinux-fsl-qoriq-b21613aeb649293946556410ff10dbb8c639f298.tar.xz
netfilter: nf_ct_sip: extend RCU read lock in set_expected_rtp_rtcp()
Currently set_expected_rtp_rtcp() in the SIP helper uses rcu_dereference() two times to access two different NAT hook functions. However, only the first one is protected by the RCU reader lock, but the 2nd isn't. Fix it by extending the RCU protected area. This is more a cosmetic thing since we rely on all netfilter hooks being rcu_read_lock()ed by nf_hook_slow() in many places anyways, as Patrick McHardy clarified. Signed-off-by: Holger Eitzenberger <holger.eitzenberger@sophos.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions