From: stephen hemminger Date: Wed, 3 Mar 2010 08:19:59 +0000 (+0000) Subject: IPv6: fix race between cleanup and add/delete address X-Git-Tag: v2.6.34-rc2~48^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f37ada5b5f6bfb4d251a7f510f249cb855b77b3;p=pandora-kernel.git IPv6: fix race between cleanup and add/delete address This solves a potential race problem during the cleanup process. The issue is that addrconf_ifdown() needs to traverse address list, but then drop lock to call the notifier. The version in -next could get confused if add/delete happened during this window. Original code (2.6.32 and earlier) was okay because all addresses were always deleted. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed