diff options
author | Eric Dumazet <edumazet@google.com> | 2020-01-15 00:00:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-16 15:12:37 +0300 |
commit | 1712b2fff8c682d145c7889d2290696647d82dab (patch) | |
tree | 0551584d0536d6735ffc0a1c1ada45241c67bf62 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3981f955eb27fd4f52b8cef198091530811229f2 (diff) | |
download | linux-1712b2fff8c682d145c7889d2290696647d82dab.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions