net: wrap sock->sk_cgrp_prioidx and ->sk_classid inside a struct
[deliverable/linux.git] / net / core / scm.c
index 8a1741b14302bd0cecdc265848feba8222400d17..14596fb3717270d62fa70544b7ec2496de96e1ce 100644 (file)
@@ -289,8 +289,8 @@ void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm)
                /* Bump the usage count and install the file. */
                sock = sock_from_file(fp[i], &err);
                if (sock) {
-                       sock_update_netprioidx(sock->sk);
-                       sock_update_classid(sock->sk);
+                       sock_update_netprioidx(&sock->sk->sk_cgrp_data);
+                       sock_update_classid(&sock->sk->sk_cgrp_data);
                }
                fd_install(new_fd, get_file(fp[i]));
        }
This page took 0.033476 seconds and 5 git commands to generate.