Re: [PATCH net-next] vxlan: set mac_header correctly in GPE mode

2016-05-12 Thread Jiri Benc
On Thu, 12 May 2016 09:47:58 +0300, Shmulik Ladkani wrote: > Would it make sense to perform this within __iptunnel_pull_header (in > case raw_proto is true) for all __iptunnel_pull_header callers? raw_proto just denotes that inner_proto of ETH_P_TEB should not be treated specially. Guessing any ot

Re: [PATCH net-next] vxlan: set mac_header correctly in GPE mode

2016-05-11 Thread Shmulik Ladkani
Hi Jiri, On Wed, 11 May 2016 15:55:06 +0200 Jiri Benc wrote: > For VXLAN-GPE, the interface is ARPHRD_NONE, thus we need to reset > mac_header after pulling the outer header. > > Fixes: e1e5314de08b ("vxlan: implement GPE") > Signed-off-by: Jiri Benc > --- > drivers/net/vxlan.c | 2 ++ > 1 fil

[PATCH net-next] vxlan: set mac_header correctly in GPE mode

2016-05-11 Thread Jiri Benc
For VXLAN-GPE, the interface is ARPHRD_NONE, thus we need to reset mac_header after pulling the outer header. Fixes: e1e5314de08b ("vxlan: implement GPE") Signed-off-by: Jiri Benc --- drivers/net/vxlan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/vxlan.c b/drivers/net/vxla