hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
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;