[PATCH next v4 1/3] ipvlan: scrub skb before routing in L3 mode.

2016-02-21 Thread Mahesh Bandewar
From: Mahesh Bandewar Scrub skb before hitting the iptable hooks to ensure packets hit these hooks. Set the xnet param only when the packet is crossing the ns boundry so if the IPvlan slave and master belong to the same ns, the param will be set to false. Signed-off-by: Mahesh Bandewar CC: Cong

Re: [PATCH next v4 1/3] ipvlan: scrub skb before routing in L3 mode.

2016-02-21 Thread Cong Wang
On Sat, Feb 20, 2016 at 7:31 PM, Mahesh Bandewar wrote: > From: Mahesh Bandewar > > Scrub skb before hitting the iptable hooks to ensure packets hit > these hooks. Set the xnet param only when the packet is crossing the > ns boundry so if the IPvlan slave and master belong to the same ns, > the p