* jamal <[EMAIL PROTECTED]> 2006-06-27 09:07 > 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.
Could you share that piece of code so I don't have to duplicate that effort? > BTW, in regards to the VLANs, what is wrong with using the > netdev->iflink to figure the real device? vlan1 ifb1 vlan2 vlan3 ifb2 vlan4 dhcp daemon would bind to ifb1 and use pktinfo cmsg to figure out whether the packet was received on vlan1 or vlan2, the actual physical device is of no interest anymore. Looking at your ifb code I see that you set skb->dev based on iif and update iif unconditionally. I see a lot of problems with this, firstly iif is already updated in the mirred action, secondly iif doesn't necessarily point to the device the packet was last seen on. Could you maybe explain the policy of iif you have in mind, it doesn't seem very consistent. BTW, why does ifb have a hard header length? The resulting push and pull only slows things down. - 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