hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
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;