geneve: fix ip_hdr_len reserved for geneve6 tunnel.
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Mon, 28 Nov 2016 05:26:58 +0000 (13:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2016 21:14:49 +0000 (16:14 -0500)
commit31ac1c19455f8aee1872512d62be1f41a497cde0
tree038072668e115b19f94854b1bb6b383b11dd8f85
parent742f74b504e782f7fba412deddeef34074e0dad1
geneve: fix ip_hdr_len reserved for geneve6 tunnel.

It shold reserved sizeof(ipv6hdr) for geneve in ipv6 tunnel.

Fixes: c3ef5aa5e5 ('geneve: Merge ipv4 and ipv6 geneve_build_skb()')
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/geneve.c