summaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/nf_conntrack_ecache.h
diff options
context:
space:
mode:
authorFlorian Westphal2017-04-16 01:29:19 +0200
committerPablo Neira Ayuso2017-04-19 17:55:17 +0200
commitb3a5db109e0670d6d168e9cd9de4d272a68f7c35 (patch)
treeae23e5a9d0b2fd061130076bedc9560852cb11ef /include/net/netfilter/nf_conntrack_ecache.h
parentnetfilter: remove last traces of variable-sized extensions (diff)
downloadkernel-qcow2-linux-b3a5db109e0670d6d168e9cd9de4d272a68f7c35.tar.gz
kernel-qcow2-linux-b3a5db109e0670d6d168e9cd9de4d272a68f7c35.tar.xz
kernel-qcow2-linux-b3a5db109e0670d6d168e9cd9de4d272a68f7c35.zip
netfilter: conntrack: use u8 for extension sizes again
commit 223b02d923ecd7c84cf9780bb3686f455d279279 ("netfilter: nf_conntrack: reserve two bytes for nf_ct_ext->len") had to increase size of the extension offsets because total size of the extensions had increased to a point where u8 did overflow. 3 years later we've managed to diet extensions a bit and we no longer need u16. Furthermore we can now add a compile-time assertion for this problem. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_ecache.h')
0 files changed, 0 insertions, 0 deletions