Home
last modified time | relevance | path

Searched hist:"1712 b2fff8c682d145c7889d2290696647d82dab" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dmacvlan.cdiff 1712b2fff8c682d145c7889d2290696647d82dab Tue Jan 14 15:00:35 CST 2020 Eric Dumazet <edumazet@google.com> macvlan: use skb_reset_mac_header() in macvlan_queue_xmit()

I missed the fact that macvlan_broadcast() can be used both
in RX and TX.

skb_eth_hdr() makes only sense in TX paths, so we can not
use it blindly in macvlan_broadcast()

Fixes: 96cc4b69581d ("macvlan: do not assume mac_header is set in macvlan_broadcast()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Jurgen Van Ham <juvanham@gmail.com>
Tested-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>