]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/net/ip.h
ip: ip_ra_control() rcu fix
[mirror_ubuntu-artful-kernel.git] / include / net / ip.h
index 9982c97f0bdcaf4c09c13cb5f2dc07e2ab2953eb..d52f01180361b159b8c358b26c7a41dfc06f6180 100644 (file)
@@ -61,7 +61,10 @@ struct ipcm_cookie {
 struct ip_ra_chain {
        struct ip_ra_chain      *next;
        struct sock             *sk;
-       void                    (*destructor)(struct sock *);
+       union {
+               void                    (*destructor)(struct sock *);
+               struct sock             *saved_sk;
+       };
        struct rcu_head         rcu;
 };