Re: [PATCH net-next] net: ipvlan: forward ingress packet to slave's l2 in l3s mode

2019-06-28 Thread Zhiyuan Hou
在 2019/6/26 下午4:16, Paolo Abeni 写道: Hi, On Tue, 2019-06-25 at 14:42 +0800, Zhiyuan Hou wrote: In ipvlan l3s mode, ingress packet is switched to slave interface and delivers to l4 stack. This may cause two problems: 1. When slave is in an ns different from master, the behavior of stack

Re: [PATCH net-next] net: ipvlan: forward ingress packet to slave's l2 in l3s mode

2019-06-26 Thread Paolo Abeni
Hi, On Tue, 2019-06-25 at 14:42 +0800, Zhiyuan Hou wrote: > In ipvlan l3s mode, ingress packet is switched to slave interface and > delivers to l4 stack. This may cause two problems: > > 1. When slave is in an ns different from master, the behavior of stack > in slave ns may cause confusion

[PATCH net-next] net: ipvlan: forward ingress packet to slave's l2 in l3s mode

2019-06-25 Thread Zhiyuan Hou
In ipvlan l3s mode, ingress packet is switched to slave interface and delivers to l4 stack. This may cause two problems: 1. When slave is in an ns different from master, the behavior of stack in slave ns may cause confusion for users. For example, iptables, tc, and other l2/l3 functions