hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/linux/if_arp.h
....@@ -52,6 +52,10 @@
5252 case ARPHRD_NONE:
5353 case ARPHRD_RAWIP:
5454 case ARPHRD_PIMREG:
55
+ /* PPP adds its l2 header automatically in ppp_start_xmit().
56
+ * This makes it look like an l3 device to __bpf_redirect() and tcf_mirred_init().
57
+ */
58
+ case ARPHRD_PPP:
5559 return false;
5660 default:
5761 return true;