1
linux/net/bridge
Linus Lüssing ff9a57a62a bridge: mcast snooping, fix length check of snooped MLDv1/2
"len = ntohs(ip6h->payload_len)" does not include the length of the ipv6
header itself, which the rest of this function assumes, though.

This leads to a length check less restrictive as it should be in the
following line for one thing. For another, it very likely leads to an
integer underrun when substracting the offset and therefore to a very
high new value of 'len' due to its unsignedness. This will ultimately
lead to the pskb_trim_rcsum() practically never being called, even in
the cases where it should.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-30 02:28:20 -07:00
..
netfilter bridge: netfilter: fix information leak 2011-02-14 16:49:23 +01:00
br_device.c bridge: control carrier based on ports online 2011-03-14 14:29:02 -07:00
br_fdb.c bridge: Don't put partly initialized fdb into hash 2011-02-04 13:02:36 -08:00
br_forward.c net: bridge: check the length of skb after nf_bridge_maybe_copy_header() 2011-01-06 11:33:05 -08:00
br_if.c bridge: notify applications if address of bridge device changes 2011-03-27 23:35:02 -07:00
br_input.c net: introduce rx_handler results and logic around that 2011-03-16 12:53:54 -07:00
br_ioctl.c
br_multicast.c bridge: mcast snooping, fix length check of snooped MLDv1/2 2011-03-30 02:28:20 -07:00
br_netfilter.c bridge: Reset IPCB when entering IP stack on NF_FORWARD 2011-03-18 15:13:12 -07:00
br_netlink.c bridge: add RCU annotations to bridge port lookup 2010-11-15 11:13:18 -08:00
br_notify.c bridge: add RCU annotations to bridge port lookup 2010-11-15 11:13:18 -08:00
br_private_stp.h
br_private.h bridge: notify applications if address of bridge device changes 2011-03-27 23:35:02 -07:00
br_stp_bpdu.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-01-04 11:57:25 -08:00
br_stp_if.c bridge: Fix compilation warning in function br_stp_recalculate_bridge_id() 2011-03-29 23:37:23 -07:00
br_stp_timer.c bridge: control carrier based on ports online 2011-03-14 14:29:02 -07:00
br_stp.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-15 15:15:17 -07:00
br_sysfs_br.c
br_sysfs_if.c
br.c bridge: add proper RCU annotation to should_route_hook 2010-11-15 11:13:16 -08:00
Kconfig net: bridge builtin vs. ipv6 modular 2011-03-10 13:45:57 -08:00
Makefile