]> git.baikalelectronics.ru Git - kernel.git/commit
net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit()
authorGuillaume Nault <gnault@redhat.com>
Mon, 21 Jun 2021 20:08:49 +0000 (22:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jun 2021 21:51:24 +0000 (14:51 -0700)
commit4df03a3a2dfe1362197a466e314d0e11a112788a
tree84bbdcf2988610a3638f376e7abfbc11aa47bcde
parent059b9871c320c920450d0f64b63724abab1c52d1
net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit()

Similar to commit 25bc3e1643d9 ("net: dev_is_mac_header_xmit() true for
ARPHRD_RAWIP"), add ARPHRD_IP6GRE to dev_is_mac_header_xmit(), to make
ip6gre compatible with act_mirred and __bpf_redirect().

Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_arp.h