]> 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)
commit2cdf3e3be9ca039de42d47954bd4d84c93a94e98
tree3245144c89b1a636f712701a6e6968c27d8f8aa2
parent78ceb339d923b3db5b644fea6cfbd856c61f7b11
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