On Sun, 2005-24-07 at 18:00 -0700, David S. Miller wrote: > > Signed-off-by: Jamal Hadi Salim <[EMAIL PROTECTED]> > > I have a better change in the wings that totally eliminates > real_dev _AND_ input_dev completely, and passes them as > parameters into pt->func() and ->enqueue() as it should have > been from the beginning. > > input_dev is "skb->dev at time netif_receive_skb()" was called, > and also, this is pretty much what the "real_dev" code wants too, > it wants the device before skb_bond() was invoked. >
The semantics of the two are very different. real_dev is in regards to stacked interfaces and input_dev is in reference to track what the last ingress interface was. So it is ambigous to have them to be the same thing. As an example, "redirecting from eth20 (which is not part of bond0) to bond0" is not the same as "packet last seen on bond0 was received on eth0 (which is part of bond0)" cheers, jamal - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html