All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit()
@ 2021-06-21 20:08 Guillaume Nault
  2021-06-21 22:00 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Guillaume Nault @ 2021-06-21 20:08 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski; +Cc: netdev, Daniel Borkmann

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(+)

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:
-- 
2.21.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit()
  2021-06-21 20:08 [PATCH net-next] net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit() Guillaume Nault
@ 2021-06-21 22:00 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-06-21 22:00 UTC (permalink / raw)
  To: Guillaume Nault; +Cc: davem, kuba, netdev, daniel

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 21 Jun 2021 22:08:49 +0200 you wrote:
> 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(+)

Here is the summary with links:
  - [net-next] net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit()
    https://git.kernel.org/netdev/net-next/c/a3fa449ffcf5

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-21 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21 20:08 [PATCH net-next] net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit() Guillaume Nault
2021-06-21 22:00 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.