diff options
Diffstat (limited to 'net/batman-adv')
-rw-r--r-- | net/batman-adv/soft-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c index 875a702542c2..a8f99d1486c0 100644 --- a/net/batman-adv/soft-interface.c +++ b/net/batman-adv/soft-interface.c | |||
@@ -351,7 +351,7 @@ void batadv_interface_rx(struct net_device *soft_iface, | |||
351 | */ | 351 | */ |
352 | nf_reset(skb); | 352 | nf_reset(skb); |
353 | 353 | ||
354 | vid = batadv_get_vid(skb, hdr_size); | 354 | vid = batadv_get_vid(skb, 0); |
355 | ethhdr = eth_hdr(skb); | 355 | ethhdr = eth_hdr(skb); |
356 | 356 | ||
357 | switch (ntohs(ethhdr->h_proto)) { | 357 | switch (ntohs(ethhdr->h_proto)) { |