commit | c3aaa06d5a63609641b7ad62ee0956f3de86c1cd | [log] [tgz] |
---|---|---|
author | Mahesh Bandewar <maheshb@google.com> | Sat Feb 20 19:31:32 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 21 22:43:24 2016 -0500 |
tree | aa5355c96761db9149a163adfec2ce5285eb4168 | |
parent | 86310cc42ddf300a9482c613720e7811abec2c4c [diff] |
ipvlan: scrub skb before routing in L3 mode. 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 <maheshb@google.com> CC: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>