[Bridge] [PATCH] Notify userspace about bridge learning MAC on new port

michael-dev michael-dev at fami-braun.de
Mon Apr 15 10:29:10 UTC 2013


Hi,

currently, the userspace is informed about the port the MAC is learned 
on a bridge and about the bridge removing the MAC from its forwarding 
table, but not when the MAC is learned on a different port. This is 
inconsistent and makes it difficult for applications to keep track of 
all MACs learned by a bridge on a subset of its ports.

Please find attached a patch that fixes this by sending an RTM_NEWNEIGH 
message when the forwarding destination port changes.

Regards,
  M. Braun
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 999-make-bridge-notify-switched-port.diff
URL: <http://lists.linuxfoundation.org/pipermail/bridge/attachments/20130415/7e9a07dc/attachment.ksh>


More information about the Bridge mailing list