kernel_optimize_test/net/bridge
Florian Westphal 680f6af533 netfilter: ebtables: CONFIG_COMPAT: reject trailing data after last rule
If userspace provides a rule blob with trailing data after last target,
we trigger a splat, then convert ruleset to 64bit format (with trailing
data), then pass that to do_replace_finish() which then returns -EINVAL.

Erroring out right away avoids the splat plus unneeded translation and
error unwind.

Fixes: 81e675c227 ("netfilter: ebtables: add CONFIG_COMPAT support")
Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2019-05-09 08:54:49 +02:00
..
netfilter netfilter: ebtables: CONFIG_COMPAT: reject trailing data after last rule 2019-05-09 08:54:49 +02:00
br_arp_nd_proxy.c
br_device.c
br_fdb.c
br_forward.c
br_if.c
br_input.c net: bridge: fix per-port af_packet sockets 2019-04-16 20:30:40 -07:00
br_ioctl.c
br_mdb.c
br_multicast.c net: bridge: multicast: use rcu to access port list from br_multicast_start_querier 2019-04-11 11:13:51 -07:00
br_netfilter_hooks.c netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING 2019-03-18 16:21:54 +01:00
br_netfilter_ipv6.c netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING 2019-03-18 16:21:54 +01:00
br_netlink_tunnel.c
br_netlink.c net: bridge: fix netlink export of vlan_stats_per_port option 2019-04-16 21:40:29 -07:00
br_nf_core.c
br_private_stp.h
br_private_tunnel.h
br_private.h
br_stp_bpdu.c
br_stp_if.c
br_stp_timer.c
br_stp.c
br_switchdev.c net: switchdev: Replace port attr set SDO with a notification 2019-02-27 12:39:56 -08:00
br_sysfs_br.c
br_sysfs_if.c
br_vlan_tunnel.c
br_vlan.c
br.c
Kconfig
Makefile