summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorFlorian Westphal2018-08-24 08:43:35 +0200
committerPablo Neira Ayuso2018-08-29 13:04:38 +0200
commitef39078d6342deaddacdd550c4197421bd83fb76 (patch)
tree5dbba572a631fb901a2a91039455bb79a120c208 /include/net
parentnetfilter: xt_checksum: ignore gso skbs (diff)
downloadkernel-qcow2-linux-ef39078d6342deaddacdd550c4197421bd83fb76.tar.gz
kernel-qcow2-linux-ef39078d6342deaddacdd550c4197421bd83fb76.tar.xz
kernel-qcow2-linux-ef39078d6342deaddacdd550c4197421bd83fb76.zip
netfilter: conntrack: place 'new' timeout in first location too
tcp, sctp and dccp trackers re-use the userspace ctnetlink states to index their timeout arrays, which means timeout[0] is never used. Copy the 'new' state (syn-sent, dccp-request, ..) to 0 as well so external users can simply read it off timeouts[0] without need to differentiate dccp/sctp/tcp and udp/icmp/gre/generic. The alternative is to map all array accesses to 'i - 1', but that is a much more intrusive change. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions