summaryrefslogtreecommitdiffstats
path: root/net/caif
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2016-02-26 17:56:13 +0100
committerAntonio Quartulli <a@unstable.cc>2016-04-24 09:37:21 +0200
commitc78296665c3d81f040117432ab9e1cb125521b0c (patch)
tree8fdc01e1c914e14e548192e611f036a0f479d0a6 /net/caif
parentMerge tag 'rtc-4.6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/abello... (diff)
downloadlinux-c78296665c3d81f040117432ab9e1cb125521b0c.tar.xz
linux-c78296665c3d81f040117432ab9e1cb125521b0c.zip
batman-adv: Check skb size before using encapsulated ETH+VLAN header
The encapsulated ethernet and VLAN header may be outside the received ethernet frame. Thus the skb buffer size has to be checked before it can be parsed to find out if it encapsulates another batman-adv packet. Fixes: 420193573f11 ("batman-adv: softif bridge loop avoidance") Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <a@unstable.cc>
Diffstat (limited to 'net/caif')
0 files changed, 0 insertions, 0 deletions