summaryrefslogtreecommitdiff
path: root/net/ieee802154/header_ops.c
diff options
context:
space:
mode:
authorSimon Wunderlich <sw@simonwunderlich.de>2016-06-26 09:16:09 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-06-29 08:01:47 (GMT)
commit0b3dd7dfb81ad8af53791ea2bb64b83bac1b7d32 (patch)
treebdd2e1490b047c25920b64ef9af954b7c278259e /net/ieee802154/header_ops.c
parent69fc58a57e56bf5e39b48809aefffdaa1b04c945 (diff)
downloadlinux-0b3dd7dfb81ad8af53791ea2bb64b83bac1b7d32.tar.xz
batman-adv: replace WARN with rate limited output on non-existing VLAN
If a VLAN tagged frame is received and the corresponding VLAN is not configured on the soft interface, it will splat a WARN on every packet received. This is a quite annoying behaviour for some scenarios, e.g. if bat0 is bridged with eth0, and there are arbitrary VLAN tagged frames from Ethernet coming in without having any VLAN configuration on bat0. The code should probably create vlan objects on the fly and transparently transport these VLAN-tagged Ethernet frames, but until this is done, at least the WARN splat should be replaced by a rate limited output. Fixes: 354136bcc3c4 ("batman-adv: fix kernel crash due to missing NULL checks") Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154/header_ops.c')
0 files changed, 0 insertions, 0 deletions