summaryrefslogtreecommitdiff
path: root/crypto/deflate.c
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2011-03-15 15:23:28 +0300
committerPatrick McHardy <kaber@trash.net>2011-03-15 15:23:28 +0300
commit8183e3a88aced228ab9770762692be6cc3786e80 (patch)
tree091cf02201486f436cbc0596aadf51dafbc3784a /crypto/deflate.c
parentf2247fbdc41372d64c89505280419ceb45d80a31 (diff)
downloadlinux-8183e3a88aced228ab9770762692be6cc3786e80.tar.xz
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 <xiaosuo@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'crypto/deflate.c')
0 files changed, 0 insertions, 0 deletions