Thread (4 messages) 4 messages, 3 authors, 2011-12-01

Re: [PATCH] bridge: Cannot communicate with brX when its MAC address is changed

From: David Miller <davem@davemloft.net>
Date: 2011-12-01 18:02:50
Also in: bridge

From: Stephen Hemminger <redacted>
Date: Thu, 1 Dec 2011 09:21:06 -0800
Looked into using fdb to handle this, but then there would be fdb entries
where the destination port entry was either NULL (or a dummy), and that
would require a bunch of auditing of all usages and could introduce new
bugs.

I am testing a patch that does same thing by moving compare_ether up
to where broadcast is tested.
Stephen please fix this bug correctly.

The bug is that the FDB gets updated with the initial MAC address, but
doesn't get updated when the MAC address changes.

There is no other valid fix than to update the FDB when the MAC changes,
and making whatever is necessary for that to work.

I'm not applying a patch that adds a MAC address comparison here, because
you might was well not add the FDB entry in the first place if you're
going to add a hack like that.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help