lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 08 Oct 2011 01:22:40 +0400
From:	Michael Tokarev <mjt@....msk.ru>
To:	Sridhar Samudrala <sri@...ibm.com>
CC:	Stephen Hemminger <shemminger@...tta.com>,
	netdev <netdev@...r.kernel.org>
Subject: Re: Cannot delete a bridge using 'ip' netlink interface

On 08.10.2011 00:37, Michael Tokarev wrote:
> On 06.10.2011 21:18, Sridhar Samudrala wrote:
>> On a linux 3.1.0-rc9 system using the latest iproute2, i tried
>> creating a bridge and deleting it with an attached interface. 
>>
>> Here is the sequence of steps i tried
>> ip link add br0 type bridge
>> ip link set dev eth1 master br0
>> ip link set br0 up
>> ip link del br0
>>
>> The last command hangs with the following kernel messages
>> kernel:unregister_netdevice: waiting for br0 to become free. Usage count = 1
> 
> Note that the same thing happens when one tries to rmmod bridge
> while it is in use.  I'm trying your patch to see if that helps... ;)

..And with the patch sent in this thread, bridge module can be
removed and inserted again with proper cleanup.

So you can add my

Tested-Off-By: Michael Tokarev <mjt@....msk.ru>

too, if necessary :)

Thanks,

/mjt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ