Vlad Yasevich
fc92f745f8
bridge: Fix crash with vlan filtering and tcpdump
...
When the vlan filtering is enabled on the bridge, but
the filter is not configured on the bridge device itself,
running tcpdump on the bridge device will result in a
an Oops with NULL pointer dereference. The reason
is that br_pass_frame_up() will bypass the vlan
check because promisc flag is set. It will then try
to get the table pointer and process the packet based
on the table. Since the table pointer is NULL, we oops.
Catch this special condition in br_handle_vlan().
Reported-by: Toshiaki Makita <[email protected] >
CC: Toshiaki Makita <[email protected] >
Signed-off-by: Vlad Yasevich <[email protected] >
Acked-by: Toshiaki Makita <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2014-03-28 17:14:02 -04:00
..
netfilter
netfilter: nf_tables: rename nft_do_chain_pktinfo() to nft_do_chain()
2014-01-09 20:17:16 +01:00
br.c
bridge: move br_net_exit() to br.c
2014-01-13 23:42:39 -08:00
br_device.c
bridge: Fix inabillity to retrieve vlan tags when tx offload is disabled
2014-03-28 16:33:09 -04:00
br_fdb.c
bridge: Prevent possible race condition in br_fdb_change_mac_address
2014-02-10 14:34:34 -08:00
br_forward.c
bridge: remove unnecessary parentheses
2013-12-19 19:27:26 -05:00
br_if.c
bridge: Change local fdb entries whenever mac address of bridge device changes
2014-02-10 14:34:33 -08:00
br_input.c
bridge: Fix crash with vlan filtering and tcpdump
2014-03-28 17:14:02 -04:00
br_ioctl.c
bridge: add space before '(/{', after ',', etc.
2013-12-19 19:27:26 -05:00
br_mdb.c
Revert "bridge: only expire the mdb entry when query is received"
2013-10-22 14:41:02 -04:00
br_multicast.c
bridge: multicast: enable snooping on general queries only
2014-03-11 23:22:10 -04:00
br_netfilter.c
bridge: change "foo* bar" to "foo *bar"
2013-12-19 19:27:26 -05:00
br_netlink.c
netlink: cleanup rntl_af_register
2014-01-01 23:42:19 -05:00
br_notify.c
br_private.h
bridge: Properly check if local fdb entry can be deleted when deleting vlan
2014-02-10 14:34:34 -08:00
br_private_stp.h
net: 8021q/bluetooth/bridge/can/ceph: Remove extern from function prototypes
2013-10-19 19:12:11 -04:00
br_stp.c
bridge: Clamp forward_delay when enabling STP
2013-09-12 23:32:14 -04:00
br_stp_bpdu.c
br: fix use of ->rx_handler_data in code executed on non-rx_handler path
2013-12-06 15:41:40 -05:00
br_stp_if.c
bridge: Change local fdb entries whenever mac address of bridge device changes
2014-02-10 14:34:33 -08:00
br_stp_timer.c
bridge: add space before '(/{', after ',', etc.
2013-12-19 19:27:26 -05:00
br_sysfs_br.c
bridge: use DEVICE_ATTR_xx macros
2014-01-06 16:40:46 -05:00
br_sysfs_if.c
bridge: change "foo* bar" to "foo *bar"
2013-12-19 19:27:26 -05:00
br_vlan.c
bridge: Fix crash with vlan filtering and tcpdump
2014-03-28 17:14:02 -04:00
Kconfig
Makefile