From: Harald Welte Date: Tue, 11 Oct 2005 03:52:19 +0000 (-0700) Subject: [NETFILTER] nfnetlink: use highest bit of nfa_type to indicate nested TLV X-Git-Tag: v2.6.14-rc5~68^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebe0bbf06c9e03613bdcb6b5a704595a9344b7ff;p=pandora-kernel.git [NETFILTER] nfnetlink: use highest bit of nfa_type to indicate nested TLV As Henrik Nordstrom pointed out, all our efforts with "split endian" (i.e. host byte order tags, net byte order values) are useless, unless a parser can determine whether an attribute is nested or not. This patch steals the highest bit of nfattr.nfa_type to indicate whether the data payload contains a nested nfattr (1) or not (0). This will break userspace compatibility, but luckily no kernel with nfnetlink was released so far. Signed-off-by: Harald Welte Signed-off-by: David S. Miller --- Reading git-diff-tree failed