[PATCH] net/af_packet: fix build with old kernel headers

Thomas Monjalon thomas at monjalon.net
Fri Nov 6 15:46:10 CET 2026


06/11/2026 15:27, Bing Zhao:
> The PACKET_IGNORE_OUTGOING socket option is used unconditionally,
> but it was only added to the uapi headers in Linux 4.20. The build
> fails on distributions shipping older kernel headers, like RHEL 8
> (kernel-headers-4.18.0-193.el8, gcc 8.5.0):

+Cc Kevin for RHEL compatibility discussion.





More information about the dev mailing list