Re: [PATCH] bonding: allow bond in mode balance-alb to work properly in bridge -try3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Pirko
Date: Thursday, March 26, 2009 - 4:12 am

Wed, Mar 25, 2009 at 05:31:53PM CET, fubar@us.ibm.com wrote:

Don't worry :) I did not forget about this - just needed a bit time to
investigate...

Yeah, this look's like a problem. In __vlan_hwaccel_rx there is following line:
	skb->dev = vlan_group_get_device(grp, vlan_tci & VLAN_VID_MASK);
This rewrites the dev so latter on when netif_receive_skb is called the hook
will be not called (because dev->master will not be set).

Ok I will put the hook inside the skb_bond_should_drop() - it seems like a
correct solution...

Thanks for pointing this out.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] bonding: allow bond in mode balance-alb to wor ..., Stephen Hemminger, (Fri Mar 13, 10:39 pm)
Re: [PATCH] bonding: allow bond in mode balance-alb to wor ..., Stephen Hemminger, (Sun Mar 15, 4:12 pm)
Re: [PATCH] bonding: allow bond in mode balance-alb to wor ..., Jiri Pirko, (Thu Mar 26, 4:12 am)
[PATCH 1/4] net: introduce dev_mac_address_changed, Jiri Pirko, (Mon Apr 13, 1:38 am)
Re: [PATCH 2/4] net: introduce a list of device addresses ..., Stephen Hemminger, (Mon Apr 13, 7:49 am)
Re: [PATCH 3/4] net: bridge: use device address list inste ..., Stephen Hemminger, (Mon Apr 13, 7:54 am)
Re: [PATCH 4/4] net: bonding: add slave device addresses i ..., Stephen Hemminger, (Mon Apr 13, 7:56 am)
Re: [PATCH 1/4] net: introduce dev_mac_address_changed, Stephen Hemminger, (Mon Apr 13, 7:58 am)
Re: [PATCH 1/3] net: introduce a list of device addresses ..., Stephen Hemminger, (Fri Apr 17, 8:33 am)
Re: [Bonding-devel] [PATCH 1/3] net: introduce a list of d ..., Stephen Hemminger, (Thu Apr 23, 8:58 am)
Re: [PATCH net-next] net: bridge: use device address list ..., Stephen Hemminger, (Wed May 6, 12:26 pm)