2013-04-15 10:29:34

by michael-dev

[permalink] [raw]
Subject: [PATCH] Notify userspace about bridge learning MAC on new port

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


Attachments:
999-make-bridge-notify-switched-port.diff (1.18 kB)