geneve: Merge ipv4 and ipv6 geneve_build_skb()
authorpravin shelar <pshelar@ovn.org>
Mon, 21 Nov 2016 19:02:59 +0000 (11:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2016 19:05:49 +0000 (14:05 -0500)
commitc3ef5aa5e5f853168fe9728f390bfa2141eef4ec
tree84d3637fd546af5d2b12aacf223a8a3a453b49fd
parent9b4437a5b870cb3875a63beceae5d1984ee19a22
geneve: Merge ipv4 and ipv6 geneve_build_skb()

There are minimal difference in building Geneve header
between ipv4 and ipv6 geneve tunnels. Following patch
refactors code to unify it.

Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/geneve.c