From: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> The network namespace is not modified. Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> --- security/selinux/include/objsec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h index c88cae81ee4c..b11c97c9feed 100644 --- a/security/selinux/include/objsec.h +++ b/security/selinux/include/objsec.h @@ -82,7 +82,7 @@ struct ipc_security_struct { }; struct netif_security_struct { - struct net *ns; /* network namespace */ + const struct net *ns; /* network namespace */ int ifindex; /* device index */ u32 sid; /* SID for this interface */ }; -- 2.49.0