On Tue, Mar 8, 2016 at 10:42 AM, Mahesh Bandewar <mahe...@google.com> wrote: >> The more subsystems involves, the more struct net pointers you >> potentially need to touch, the less likely you can make it correct >> by just switching skb->dev. > > Please drop that prejudice and read the patch-set carefully. I'm > neither changing > any *net* pointers nor changing the skb->dev pointers anywhere. All I'm saying > is dev->l3_dev is what we'll use for *all* L3 processing and no need to change > skb->dev or net-ns of any device(s) involved.
Please don't misinterpret me. I said _switching_, not overwriting or changing, you use dev->l3_dev to _switch_ skb->dev and/or net, this is exactly what I am complaining about. This is not how netns works.