Message ID | 5f9a7d9f535e3fa9be60fdc5b10f273fc2e8f7e8.1624306000.git.gnault@redhat.com |
---|---|
State | New |
Headers | show |
Series | [net-next] net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit() | expand |
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:
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> --- include/linux/if_arp.h | 1 + 1 file changed, 1 insertion(+)