]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: x_tables: remove obsolete check
authorFlorian Westphal <fw@strlen.de>
Fri, 1 Apr 2016 12:17:36 +0000 (14:17 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 13 Apr 2016 22:30:41 +0000 (00:30 +0200)
commitaded9f3e9fa8db559c5b7661bbb497754270e754
tree36097eef011b102934ea3c1b750a43726b93ed7f
parent95609155d7fa08cc2e71d494acad39f72f0b4495
netfilter: x_tables: remove obsolete check

Since 'netfilter: x_tables: validate targets of jumps' change we
validate that the target aligns exactly with beginning of a rule,
so offset test is now redundant.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c