net: dev_is_mac_header_xmit() true for ARPHRD_RAWIP
authorMaciej Żenczykowski <maze@google.com>
Thu, 24 Jan 2019 11:07:02 +0000 (03:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Jan 2019 06:45:34 +0000 (22:45 -0800)
commit3b707c3008cad04604c1f50e39f456621821c414
tree16dd39eeb619e1224302f05eacae70e60a66b6bb
parent6eea3527e68acc22483f4763c8682f223eb90029
net: dev_is_mac_header_xmit() true for ARPHRD_RAWIP

__bpf_redirect() and act_mirred checks this boolean
to determine whether to prefix an ethernet header.

Signed-off-by: Maciej Żenczykowski <maze@google.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_arp.h