From: Jeff Dike Date: Tue, 7 Feb 2006 20:58:42 +0000 (-0800) Subject: [PATCH] uml: balance list_add and list_del in the network driver X-Git-Tag: v2.6.16-rc3~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14d9ead05ec925f299ae5cfe948c180c88ec842e;p=pandora-kernel.git [PATCH] uml: balance list_add and list_del in the network driver The network driver added an interface to the "opened" list when it was configured, not when it was brought up, and removed it when it was taken down. A sequence of ifconfig up, ifconfig down, ... caused it to be removed multiple times from the list without being added in between, resulting in a crash. This patch moves the add to when the interface is brought up. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed