aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2011-03-20 15:40:06 +0100
committerPatrick McHardy <[email protected]>2011-03-20 15:40:06 +0100
commitdb856674ac69e31946e56085239757cca3f7655f (patch)
tree73fc82e92a119dcf1a0ce4e2ca45ef410165776f /net/lapb/lapb_in.c
parent5c1aba467828bf0574ec5754c84884d573f590af (diff)
netfilter: xtables: fix reentrancy
commit f3c5c1bfd4308 (make ip_tables reentrant) introduced a race in handling the stackptr restore, at the end of ipt_do_table() We should do it before the call to xt_info_rdunlock_bh(), or we allow cpu preemption and another cpu overwrites stackptr of original one. A second fix is to change the underflow test to check the origptr value instead of 0 to detect underflow, or else we allow a jump from different hooks. Signed-off-by: Eric Dumazet <[email protected]> Cc: Jan Engelhardt <[email protected]> Signed-off-by: Patrick McHardy <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions