summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-12-24 13:09:25 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2012-12-26 18:14:44 +0100
commit09181842b000344b1205801df3aa5b726c03cc62 (patch)
tree49d9df6bbf35300fa3a8d1e3c4f0cbbbe07a383e /tools
parent10db9069eb5c60195170a4119bdbcbce69a4945f (diff)
downloadop-kernel-dev-09181842b000344b1205801df3aa5b726c03cc62.zip
op-kernel-dev-09181842b000344b1205801df3aa5b726c03cc62.tar.gz
netfilter: xt_hashlimit: fix race that results in duplicated entries
Two packets may race to create the same entry in the hashtable, double check if this packet lost race. This double checking only happens in the path of the packet that creates the hashtable for first time. Note that, with this patch, no packet drops occur if the race happens. Reported-by: Feng Gao <gfree.wind@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud