aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_hashtab.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-03-20 10:40:06 -0400
committerPatrick McHardy <kaber@trash.net>2011-03-20 10:40:06 -0400
commitdb856674ac69e31946e56085239757cca3f7655f (patch)
tree73fc82e92a119dcf1a0ce4e2ca45ef410165776f /include/drm/drm_hashtab.h
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 <eric.dumazet@gmail.com> Cc: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/drm/drm_hashtab.h')
0 files changed, 0 insertions, 0 deletions