hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
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;