]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: fix vlan header access
authorAntonio Quartulli <antonio@meshcoding.com>
Mon, 23 Dec 2013 20:43:39 +0000 (21:43 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 28 Dec 2013 13:48:40 +0000 (14:48 +0100)
commit5b706f9e1fe64a759d1422c77b3c9cd9677cc870
treef692cb05d9ee37001616641c1597b064ad83874b
parent9eaf8d4b90b398f3cc398da3a773032e45cf2778
batman-adv: fix vlan header access

When batadv_get_vid() is invoked in interface_rx() the
batman-adv header has already been removed, therefore
the header_len argument has to be 0.

Introduced by 153e994dcecfd891d09129c900c376a6d9c67366
("batman-adv: add the VLAN ID attribute to the TT entry")

Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/soft-interface.c