diff mbox series

[net-next] net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit()

Message ID 5f9a7d9f535e3fa9be60fdc5b10f273fc2e8f7e8.1624306000.git.gnault@redhat.com (mailing list archive)
State Accepted
Commit a3fa449ffcf5bcf9c3dddf62c11599cdc79ef54a
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: handle ARPHRD_IP6GRE in dev_is_mac_header_xmit() | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net-next
netdev/subject_prefix success Link
netdev/cc_maintainers warning 8 maintainers not CCed: yhs@fb.com kpsingh@kernel.org bpf@vger.kernel.org andrii@kernel.org kafai@fb.com ast@kernel.org john.fastabend@gmail.com songliubraving@fb.com
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 2466 this patch: 2466
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 2546 this patch: 2546
netdev/header_inline success Link

Commit Message

Guillaume Nault June 21, 2021, 8:08 p.m. UTC
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(+)

Comments

patchwork-bot+netdevbpf@kernel.org June 21, 2021, 10 p.m. UTC | #1
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
diff mbox series

Patch

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: