diff options
author | Florian Westphal <[email protected]> | 2014-03-07 14:37:10 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2014-03-12 13:55:01 +0100 |
commit | d9ec4f1ee280e5f8732e3c40ca672419b2532600 (patch) | |
tree | a751b086f8c4e6acdb8d2e220ba76d351930ad79 /net/unix/af_unix.c | |
parent | 15cfd52895751e8f36b48b8ad33f1d68b59611e2 (diff) |
netfilter: connlimit: improve packet-to-closed-connection logic
Instead of freeing the entry from our list and then adding
it back again in the 'packet to closing connection' case just keep the
matching entry around. Also drop the found_ct != NULL test as
nf_ct_tuplehash_to_ctrack is just container_of().
Reviewed-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions