aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/if_arp.h
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2021-06-21 22:08:49 +0200
committerDavid S. Miller <davem@davemloft.net>2021-06-21 14:51:24 -0700
commita3fa449ffcf5bcf9c3dddf62c11599cdc79ef54a (patch)
tree84bbdcf2988610a3638f376e7abfbc11aa47bcde /include/linux/if_arp.h
parentRevert "net/sched: cls_flower: Remove match on n_proto" (diff)
downloadlinux-dev-a3fa449ffcf5bcf9c3dddf62c11599cdc79ef54a.tar.xz
linux-dev-a3fa449ffcf5bcf9c3dddf62c11599cdc79ef54a.zip
net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit()
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>
Diffstat (limited to 'include/linux/if_arp.h')
-rw-r--r--include/linux/if_arp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_arp.h b/include/linux/if_arp.h
index bf5c5f32c65e..b712217f7030 100644
--- a/include/linux/if_arp.h
+++ b/include/linux/if_arp.h
@@ -48,6 +48,7 @@ static inline bool dev_is_mac_header_xmit(const struct net_device *dev)
case ARPHRD_TUNNEL6:
case ARPHRD_SIT:
case ARPHRD_IPGRE:
+ case ARPHRD_IP6GRE:
case ARPHRD_VOID:
case ARPHRD_NONE:
case ARPHRD_RAWIP: