diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-02-07 12:58:42 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-07 16:12:32 -0800 |
commit | 14d9ead05ec925f299ae5cfe948c180c88ec842e (patch) | |
tree | 88901eee9fb3d4b332b8cf96ffd91d0f9cbe2d2f /arch/um/os-Linux | |
parent | 1d2ddcfb1935c9c0e98c4295458b01f24e3274f9 (diff) |
[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 <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/os-Linux')
0 files changed, 0 insertions, 0 deletions