]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit()
authorGuillaume Nault <gnault@redhat.com>
Tue, 19 Oct 2021 14:50:00 +0000 (16:50 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 5 Nov 2021 09:20:43 +0000 (10:20 +0100)
commit8fd6c6c70fb5ec0810eb47de16b0dd529f580882
treeec0193d1d479279384b697826df43c666758e276
parentcaa196c093d9cda6e86d77716aff56e8bfbb8cc3
net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit()

BugLink: https://bugs.launchpad.net/bugs/1947164
Similar to commit 3b707c3008ca ("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>
(cherry picked from commit a3fa449ffcf5bcf9c3dddf62c11599cdc79ef54a)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
include/linux/if_arp.h