]> Pileus Git - ~andy/linux/blobdiff - drivers/net/tun.c
cgroup: net_cls: Pass in task to sock_update_classid()
[~andy/linux] / drivers / net / tun.c
index 0873cdcf39bebb09d75b1cadbffce4c2d614f593..e4858b20bf11c5d6fa53582110d87c4d95d5c6cc 100644 (file)
@@ -587,7 +587,7 @@ static struct sk_buff *tun_alloc_skb(struct tun_struct *tun,
        struct sk_buff *skb;
        int err;
 
-       sock_update_classid(sk);
+       sock_update_classid(sk, current);
 
        /* Under a page?  Don't bother with paged skb. */
        if (prepad + len < PAGE_SIZE || !linear)