[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100504.161815.71114704.davem@davemloft.net>
Date: Tue, 04 May 2010 16:18:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: fubar@...ibm.com
Cc: jbohac@...e.cz, bonding-devel@...ts.sourceforge.net,
netdev@...r.kernel.org
Subject: Re: [PATCH] bonding: fix arp_validate on bonds inside a bridge
From: Jay Vosburgh <fubar@...ibm.com>
Date: Mon, 03 May 2010 18:06:22 -0700
> Tested and it looks to work as advertised. I see only one minor
> nit, there's a pr_debug that missed being renamed to the new function
> name; here's the whole patch with that fixed.
I don't think you need the ugly arp hook.
Instead, it's much cleaner to provide a way for packet type taps to
see the packet before bridge et al. decapsulation. In fact this makes
a lot of sense, wanting to see the device as __netif_receive_skb() saw
it, with no changes whatsoever.
In fact ptype_all runs before bridging, ING, and MACVLAN decap the
thing, so we could have a 'ptype_base_predecap[]' that we run over
right after those.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists