]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_compat: remove incomplete 32/64 bits arch compat code
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 17 Jun 2014 19:18:44 +0000 (21:18 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 2 Oct 2014 16:30:55 +0000 (18:30 +0200)
commit3301cdac0363942f641104e673f2b61f02b9518c
tree3245144c89b1a636f712701a6e6968c27d8f8aa2
parent6d2f6e535148ebb1dbda415aa2c350b8c27e837a
netfilter: nft_compat: remove incomplete 32/64 bits arch compat code

This code was based on the wrong asumption that you can probe based
on the match/target private size that we get from userspace. This
doesn't work at all when you have to dump the info back to userspace
since you don't know what word size the userspace utility is using.

Currently, the extensions that require arch compat are limit match
and the ebt_mark match/target. The standard targets are not used by
the nft-xt compat layer, so they are not affected. We can work around
this limitation with a new revision that uses arch agnostic types.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_compat.c