commit | 0526947f9dd019da8d550ed20177585a84b3460e | [log] [tgz] |
---|---|---|
author | Kirill Tkhai <ktkhai@virtuozzo.com> | Thu Mar 22 12:45:12 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 22 15:12:55 2018 -0400 |
tree | 91bb96d58072735befc89e5287a82cfd6967b22d | |
parent | 76d3e153d0d16032ab68e3b698c4df05acef48c5 [diff] |
net: Move IP_ROUTER_ALERT out of lock_sock(sk) ip_ra_control() does not need sk_lock. Who are the another users of ip_ra_chain? ip_mroute_setsockopt() doesn't take sk_lock, while parallel IP_ROUTER_ALERT syscalls are synchronized by ip_ra_lock. So, we may move this command out of sk_lock. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>