net: dev_is_mac_header_xmit() true for ARPHRD_RAWIP
Subsystems (2)
PATCH 1/1 net: dev_is_mac_header_xmit() true for ARPHRD_RAWIP
From: Maciej Żenczykowski <[email protected]>
__bpf_redirect() and act_mirred checks this boolean to determine whether to prefix an ethernet header.
Signed-off-by Maciej Żenczykowski <[email protected]>
--- include/linux/if_arp.h | 1 + 1 file changed, 1 insertion(+)
include/linux/if_arp.h +1 -0
@@ -54,6 +54,7 @@ static inline bool dev_is_mac_header_xmit(const struct net_device *dev)case ARPHRD_IPGRE :case ARPHRD_VOID :case ARPHRD_NONE : +case ARPHRD_RAWIP :return false;default :return true;
Signature · 1 line
2.20.1.321.g9e740568ce-goog
Quoted 6 lines · Maciej Żenczykowski
From: Maciej Żenczykowski <[email protected]>
__bpf_redirect()andact_mirredchecks this boolean to determine whether to prefix an ethernet header.Signed-off-by Maciej Żenczykowski <[email protected]>
I presume David would pick this up for net tree, so:
Acked-by Daniel Borkmann <[email protected]>
From: Maciej Żenczykowski <[email protected]>
Date: Thu, 24 Jan 2019 03:07:02 -0800
Quoted 6 lines
From: Maciej Żenczykowski <[email protected]>
__bpf_redirect()andact_mirredchecks this boolean to determine whether to prefix an ethernet header.Signed-off-by Maciej Żenczykowski <[email protected]>
Applied.