Skip to content
Commit 5d5780df authored by Yan Zheng's avatar Yan Zheng Committed by David S. Miller
Browse files

[IPV6]: Acquire addrconf_hash_lock for read in addrconf_verify(...)



addrconf_verify(...) only traverse address hash table when
addrconf_hash_lock is held for writing, and it may hold
addrconf_hash_lock for a long time. So I think it's better to acquire
addrconf_hash_lock for reading instead of writing

Signed-off-by: default avatarYan Zheng <yanzheng@21cn.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4909724b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment