OVN will be using AF_BRIDGE in the near future as part of the effort to
add dynamic routing support for EVPN.  Without these definitions
compilation (with sparse enabled) fails in OVN.

Signed-off-by: Dumitru Ceara <dce...@redhat.com>
---
 include/sparse/sys/socket.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/sparse/sys/socket.h b/include/sparse/sys/socket.h
index d5d7446cfe93..4e54539276fc 100644
--- a/include/sparse/sys/socket.h
+++ b/include/sparse/sys/socket.h
@@ -143,7 +143,9 @@ enum {
     AF_NETLINK,
     PF_NETLINK = AF_NETLINK,
     AF_PACKET,
-    PF_PACKET = AF_PACKET
+    PF_PACKET = AF_PACKET,
+    AF_BRIDGE,
+    PF_BRIDGE = AF_BRIDGE,
 };
 
 enum {
-- 
2.49.0

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to