summaryrefslogtreecommitdiff
path: root/include/linux/bits.h
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2023-08-23 15:41:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-09-23 10:48:11 +0200
commit62b12b91f3ef00140edad7b624ab1702b2149198 (patch)
treece79a452e43f7844f0022fb3579928b78f108a9c /include/linux/bits.h
parentfbb3ad9fb457d4e6dd040d6794639292f84b8a0f (diff)
net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
commit a4f39c9f14a634e4cd35fcd338c239d11fcc73fc upstream. The goal is to support a bpf_redirect() from an ethernet device (ingress) to a ppp device (egress). The l2 header is added automatically by the ppp driver, thus the ethernet header should be removed. CC: stable@vger.kernel.org Fixes: 27b29f63058d ("bpf: add bpf_redirect() helper") Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Tested-by: Siwar Zitouni <siwar.zitouni@6wind.com> Reviewed-by: Guillaume Nault <gnault@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/bits.h')
0 files changed, 0 insertions, 0 deletions