On Tue, 03 Jul 2012 17:22:23 +0400
sergio <[email protected]> wrote:

> Package: iproute
> Version: 20120521-3
> Severity: normal
> 
> % sudo brctl addbr br0          
> % sudo ip link del br0
> RTNETLINK answers: Operation not supported
> 
> In the back order works fine:
> 
> % sudo ip link add type bridge
> % brctl delbr bridge0         
> 
> 
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (200, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.4-trunk-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages iproute depends on:
> ii  libc6     2.13-34
> ii  libdb5.1  5.1.29-5
> 
> 
> 

Fix is in upstream kernel but has not migrated down to stable (or Debian)
yet. 

commit 149ddd83a92b02c658d6c61f3276eb6500d585e8
Author: stephen hemminger <[email protected]>
Date:   Tue Jun 26 05:48:45 2012 +0000

    bridge: Assign rtnl_link_ops to bridge devices created via ioctl (v2)
    
    This ensures that bridges created with brctl(8) or ioctl(2) directly
    also carry IFLA_LINKINFO when dumped over netlink. This also allows
    to create a bridge with ioctl(2) and delete it with RTM_DELLINK.
    
    Signed-off-by: Thomas Graf <[email protected]>
    Signed-off-by: Stephen Hemminger <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to