]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ipv6: prepare RCU lookups for idev->addr_list
authorEric Dumazet <edumazet@google.com>
Sun, 8 Oct 2017 02:30:23 +0000 (19:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 04:16:30 +0000 (21:16 -0700)
commit8ef802aa8ec87a0fec20d28f8f51cad964265902
tree40ddf72af21af43d4805e6dccbbbcee7353b4e7d
parenta42317785c898c0ed46db45a33b0cc71b671bf29
ipv6: prepare RCU lookups for idev->addr_list

inet6_ifa_finish_destroy() already uses kfree_rcu() to free
inet6_ifaddr structs.

We need to use proper list additions/deletions in order
to allow readers to use RCU instead of idev->lock rwlock.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c