diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-04-28 20:04:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-01 05:44:04 +0300 |
commit | ba3f571d5dde27fc4ae83aabe2c06ff08087af49 (patch) | |
tree | 27f69a0cce85e6e464684e0660809cf7fc4964be /certs | |
parent | 5010e948420ea1cff85f6c2f64ec7a011aea3d07 (diff) | |
download | linux-ba3f571d5dde27fc4ae83aabe2c06ff08087af49.tar.xz |
ipv4: get rid of ip_ra_lock
After commit 1215e51edad1 ("ipv4: fix a deadlock in ip_ra_control")
we always take RTNL lock for ip_ra_control() which is the only place
we update the list ip_ra_chain, so the ip_ra_lock is no longer needed.
As Eric points out, BH does not need to disable either, RCU readers
don't care.
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions