lapi: Add PACKET_VNET_HDR
PATCH 1/1 lapi: Add PACKET_VNET_HDR
required for sendto03
Fixme: b59c66210 ("Add test for CVE 2020-14386")
Signed-off-by Petr Vorel <[email protected]>
--- include/lapi/if_packet.h | 4 ++++ 1 file changed, 4 insertions(+)
include/lapi/if_packet.h +4 -0
@@ -25,6 +25,10 @@# define PACKET_RESERVE 12#endif +#ifndef PACKET_VNET_HDR +#define PACKET_VNET_HDR 15 +#endif +#ifndef PACKET_FANOUT #define PACKET_FANOUT 18#endif
Signature · 1 line
2.28.0