From: Florian Westphal Date: Fri, 7 Mar 2014 13:37:10 +0000 (+0100) Subject: netfilter: connlimit: improve packet-to-closed-connection logic X-Git-Tag: v3.15-rc1~113^2~144^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9ec4f1ee280e5f8732e3c40ca672419b2532600;p=pandora-kernel.git 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 Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed