Re: [PATCH]IPv6: Acquire addrconf_hash_lock for reading instead ofwriting in addrconf_verify(...)

From: David S. Miller
Date: Fri Nov 18 2005 - 18:50:33 EST


From: Yan Zheng <yanzheng@xxxxxxxx>
Date: Thu, 17 Nov 2005 10:14:11 +0800

> 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@xxxxxxxx>

Applied, thanks Yan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/