Re: [Bridge] [PATCH] bridge: mark packets sent to any local mac address as PACKET_HOST

2014-10-12 Thread Maxime Bizon
On Thursday 26 Jun 2014 à 13:35:50 (-0700), David Miller wrote: > > for some reasons, hostapd kept adding and removing the interface from > > the bridge, triggering a mac address of the bridge change each time (I > > did not notice that). > > I think this is what you need to investigate rather t

Re: [Bridge] [PATCH] bridge: mark packets sent to any local mac address as PACKET_HOST

2014-10-12 Thread Maxime Bizon
gt; > > > Signed-off-by: Maxime Bizon > > What are you trying to do? Bridge device itself only has one MAC address. > Are you trying to run macvlan on top of bridge? > We only respond to ARP with bridge's MAC address. host1 uses a bridge with two interfaces: ethernet

[Bridge] [PATCH] bridge: mark packets sent to any local mac address as PACKET_HOST

2014-10-12 Thread Maxime Bizon
The bridge code only set PACKET_HOST on packets sent to the bridge mac address, packets sent to other local mac addresses are sent to upper layers, but ignored because they are marked as PACKET_OTHERHOST. Signed-off-by: Maxime Bizon --- net/bridge/br_input.c |1 + 1 file changed, 1

[Bridge] [PATCH][RFC] bridge: mark packets sent to any local mac address as PACKET_HOST

2014-05-28 Thread Maxime Bizon
The bridge code only set PACKET_HOST on packets sent to the bridge mac address, packets sent to other local mac addresses are sent to upper layer, but ignored because they are marked as PACKET_OTHERHOST. --- net/bridge/br_input.c |1 + 1 file changed, 1 insertion(+) diff --git a/net/bridge/b