]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf776dd6031db84d27c6619ae15eeba28ee17759
tree16dd39eeb619e1224302f05eacae70e60a66b6bb
parent2f6209c723480cac54ad0d95ba009b0075a26fe7
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