Re: [PATCH 2/3] [VLAN]: Update iif when receiving via VLAN device
From: jamal <hidden>
Date: 2006-06-27 13:07:53
From: jamal <hidden>
Date: 2006-06-27 13:07:53
On Tue, 2006-27-06 at 12:03 +0200, Thomas Graf wrote:
* Patrick McHardy [off-list ref] 2006-06-27 00:29quoted
Doesn't sound too silly (actually quite nifty in my opinion), but I'm not sure I understand correctly, binding to ifb doesn't work since it changes both skb->dev and skb->input_dev.I don't understand this concern. So far the mirred action updates iif but that can be made configurable.
I am reading the thread backwards, so i may miss some of the obvious. I also dont remember the exact discussion we had - but the consensus was to leave the field setting as is. Note the meta-setter (been sitting on it for too long) also set the input_dev. BTW, in regards to the VLANs, what is wrong with using the netdev->iflink to figure the real device? cheers, jamal