git: if_bridge - Fix issue where source MAC is not recorded.
dillon at crater.dragonflybsd.org
Mon Feb 2 19:35:46 PST 2015
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Feb 2 19:28:32 2015 -0800
if_bridge - Fix issue where source MAC is not recorded.
* The bridge has to record which interface the source MAC came from
so transmissions back to that MAC can be unicast. Otherwise transmissions
will be broadcast to all bridge elements.
The receive packet path case where a packet is sent to the bridge's own
MAC address (terminating on the bridge host) from one of the member
interfaces was not recording the MAC, resulting in duplicate packets
(most obvious when testing with 'ping').
* Fix the code path in question so the MAC is properly recorded.
Summary of changes:
sys/net/bridge/if_bridge.c | 29 ++++++++++++++++++++++++++---
1 file changed, 26 insertions(+), 3 deletions(-)
DragonFly BSD source repository
More information about the Commits