aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorChangli Gao <[email protected]>2011-03-15 13:23:28 +0100
committerPatrick McHardy <[email protected]>2011-03-15 13:23:28 +0100
commit8183e3a88aced228ab9770762692be6cc3786e80 (patch)
tree091cf02201486f436cbc0596aadf51dafbc3784a /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentf2247fbdc41372d64c89505280419ceb45d80a31 (diff)
netfilter: xt_connlimit: fix daddr connlimit in SNAT scenario
We use the reply tuples when limiting the connections by the destination addresses, however, in SNAT scenario, the final reply tuples won't be ready until SNAT is done in POSTROUING or INPUT chain, and the following nf_conntrack_find_get() in count_tem() will get nothing, so connlimit can't work as expected. In this patch, the original tuples are always used, and an additional member addr is appended to save the address in either end. Signed-off-by: Changli Gao <[email protected]> Signed-off-by: Patrick McHardy <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions