]> Git Repo - linux.git/blobdiff - security/selinux/hooks.c
sctp: add sctp_packet_singleton
[linux.git] / security / selinux / hooks.c
index 4cafe6a19167613cb64b29ac59c895e91285b390..5c508d26b3675908f7301efca40fbdcbcf6b0d3b 100644 (file)
@@ -1471,7 +1471,9 @@ static inline u16 socket_type_to_security_class(int family, int type, int protoc
                        return SECCLASS_QIPCRTR_SOCKET;
                case PF_SMC:
                        return SECCLASS_SMC_SOCKET;
-#if PF_MAX > 44
+               case PF_XDP:
+                       return SECCLASS_XDP_SOCKET;
+#if PF_MAX > 45
 #error New address family defined, please update this function.
 #endif
                }
This page took 0.0321 seconds and 4 git commands to generate.