commit | 6640e673c6f3dbaace085ca2686a8a343dc23a71 | [log] [tgz] |
---|---|---|
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | Tue Jul 14 16:35:53 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 15 21:33:39 2015 -0700 |
tree | 54c6f43e8d9b0e47dbab468aa2daa693ada3277d | |
parent | 6a725497318545aae246232ed05a8df9cffb0a02 [diff] |
ipvlan: unhash addresses without synchronize_rcu All structures used in traffic forwarding are rcu-protected: ipvl_addr, ipvl_dev and ipvl_port. Thus we can unhash addresses without synchronization. We'll anyway hash it back into the same bucket: in worst case lockless lookup will scan hash once again. Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Signed-off-by: David S. Miller <davem@davemloft.net>