diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-22 12:45:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-22 15:12:55 -0400 |
commit | 0526947f9dd019da8d550ed20177585a84b3460e (patch) | |
tree | 91bb96d58072735befc89e5287a82cfd6967b22d /net/ipv4/ipmr.c | |
parent | net: Revert "ipv4: get rid of ip_ra_lock" (diff) | |
download | linux-dev-0526947f9dd019da8d550ed20177585a84b3460e.tar.xz linux-dev-0526947f9dd019da8d550ed20177585a84b3460e.zip |
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>
Diffstat (limited to 'net/ipv4/ipmr.c')
0 files changed, 0 insertions, 0 deletions