diff options
author | Harald Welte <laforge@netfilter.org> | 2005-10-10 20:52:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-10-10 20:52:19 -0700 |
commit | ebe0bbf06c9e03613bdcb6b5a704595a9344b7ff (patch) | |
tree | 33453cb2cd33095e3a226d0866bdfe1019473646 /include/asm-sh/timex.h | |
parent | f40863cec87464f3f4ec3a6c00e3fda3bbb0c91b (diff) |
[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 <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sh/timex.h')
0 files changed, 0 insertions, 0 deletions