link deleted from cache when removed from a bridge
Thomas Graf
tgraf at infradead.org
Mon Oct 10 06:07:38 EDT 2011
On Tue, Jun 21, 2011 at 01:07:47PM -0700, Andrew Kraslavsky wrote:
> 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.
More information about the libnl
mailing list