summaryrefslogtreecommitdiffstats
path: root/security/selinux/include/netif.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/include/netif.h')
-rw-r--r--security/selinux/include/netif.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/selinux/include/netif.h b/security/selinux/include/netif.h
index 57c6eae81eac..c72145444090 100644
--- a/security/selinux/include/netif.h
+++ b/security/selinux/include/netif.h
@@ -17,9 +17,11 @@
#ifndef _SELINUX_NETIF_H_
#define _SELINUX_NETIF_H_
+#include <net/net_namespace.h>
+
void sel_netif_flush(void);
-int sel_netif_sid(int ifindex, u32 *sid);
+int sel_netif_sid(struct net *ns, int ifindex, u32 *sid);
#endif /* _SELINUX_NETIF_H_ */