commit | 5d5780df23537ad0db72267fe11103d2c23d9b2a | [log] [tgz] |
---|---|---|
author | Yan Zheng <yanzheng@21cn.com> | Sun Nov 20 13:42:20 2005 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 20 13:42:20 2005 -0800 |
tree | 3a442b265c3494072d4cdf15c8d3a38ada33a734 | |
parent | 4909724b5dee8fb7c52bbe90afa40c65b17be9eb [diff] |
[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: Yan Zheng <yanzheng@21cn.com> Signed-off-by: David S. Miller <davem@davemloft.net>