Skip to contentSkip to conversation

lapi: Add PACKET_VNET_HDR

PATCH New Petr Vorel 1 participant 1 message Sep 23, 2020

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 lapi: Add PACKET_VNET_HDR

required for sendto03

Fixme: b59c66210 ("Add test for CVE 2020-14386")

---
 include/lapi/if_packet.h | 4 ++++
 1 file changed, 4 insertions(+)
include/lapi/if_packet.h +4 -0
index 81110217d..902489b57 100644
@@ -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