diff options
Diffstat (limited to 'security/selinux/netif.c')
-rw-r--r-- | security/selinux/netif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/netif.c b/security/selinux/netif.c index e607b4473ef6..ac65f7417413 100644 --- a/security/selinux/netif.c +++ b/security/selinux/netif.c | |||
@@ -163,7 +163,7 @@ static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) | |||
163 | ret = -ENOMEM; | 163 | ret = -ENOMEM; |
164 | goto out; | 164 | goto out; |
165 | } | 165 | } |
166 | ret = security_netif_sid(dev->name, &new->nsec.sid); | 166 | ret = security_netif_sid(&selinux_state, dev->name, &new->nsec.sid); |
167 | if (ret != 0) | 167 | if (ret != 0) |
168 | goto out; | 168 | goto out; |
169 | new->nsec.ns = ns; | 169 | new->nsec.ns = ns; |