link deleted from cache when removed from a bridge

Andrew Kraslavsky andykras at hotmail.com
Wed Oct 26 14:30:17 EDT 2011


> > > Here's the output. In this case, physical Ethernet interface eth5 was removed
> > > from bridge br6.
> > >
> > > The ifindex of eth5 is 7 and the ifindex of br6 is 11 (0x0b) and I see that
> > > the "master" field of the eth5 link is set to that value.
> > >
> > > -- Debug: Received Message:
> > > --------------------------   BEGIN NETLINK MESSAGE ---------------------------
> > >   [HEADER] 16 octets
> > >     .nlmsg_len = 80
> > >     .nlmsg_type = 17 <route/link::del>
> > >     .nlmsg_flags = 0 <>
> > >     .nlmsg_seq = 0
> > >     .nlmsg_pid = 0
> > >   [PAYLOAD] 16 octets
> > >     07 00 01 00 07 00 00 00 03 10 00 00 00 00 00 00       ................
> > >   [ATTR 03] 5 octets
> > >     65 74 68 35 00                                        eth5.
> > >   [PADDING] 3 octets
> > >     00 00 00                                              ...
> > >   [ATTR 10] 4 octets
> > >     0b 00 00 00                                           ....
> > >   [ATTR 04] 4 octets
> > >     dc 05 00 00                                           ....
> > >   [ATTR 16] 1 octets
> > >     02                                                    .
> > >   [PADDING] 3 octets
> > >     00 00 00                                              ...
> > >   [ATTR 01] 6 octets
> > >     00 90 7f 82 66 90                                     ....f.
> > >   [PADDING] 2 octets
> > >     00 00                                                 ..
> > > ---------------------------  END NETLINK MESSAGE   ---------------------------
> >
> > You are right, this is only supposed to indicate the release of a slave
> > and is mistakenly intepreted as deletion of a link. I'll fix this.
>
> I pushed a fix to the git tree. Feel free to test it if you have the time.

Sorry for the delay.  I applied the patch and verified that the problem no longer occurs.

Thanks for fixing it!

 		 	   		  


More information about the libnl mailing list