aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorLiping Zhang <[email protected]>2016-07-03 13:18:44 +0800
committerPablo Neira Ayuso <[email protected]>2016-07-11 11:39:08 +0200
commit474803d37e7fb6291d22cb964014afe457ba5212 (patch)
tree06b92dc5efae3320479d1aefa02fd022733d6904 /lib/mpi/mpi-bit.c
parent64b87639c9cbeb03e26bc65528416c961b1dde96 (diff)
netfilter: cttimeout: unlink timeout obj again when hash resize happen
Imagine such situation, nf_conntrack_htable_size now is 4096, we are doing ctnl_untimeout, and iterate on 3000# bucket. Meanwhile, another user try to reduce hash size to 2048, then all nf_conn are removed to the new hashtable. When this hash resize operation finished, we still try to itreate ct begin from 3000# bucket, find nothing to do and just return. We may miss unlinking some timeout objects. And later we will end up with invalid references to timeout object that are already gone. So when we find that hash resize happened, try to unlink timeout objects from the 0# bucket again. Signed-off-by: Liping Zhang <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions