-
David Wilder authored
The pre_exit will un-register the underlying hook and .exit will do the table freeing. The netns core does an unconditional synchronize_rcu after the pre_exit hooks insuring no packets are in flight that have picked up the pointer before completing the un-register. Fixes: b9e69e12 ("netfilter: xtables: don't hook tables by default") Signed-off-by:
David Wilder <dwilder@us.ibm.com> Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org>
David Wilder authoredThe pre_exit will un-register the underlying hook and .exit will do the table freeing. The netns core does an unconditional synchronize_rcu after the pre_exit hooks insuring no packets are in flight that have picked up the pointer before completing the un-register. Fixes: b9e69e12 ("netfilter: xtables: don't hook tables by default") Signed-off-by:
David Wilder <dwilder@us.ibm.com> Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org>
Loading