]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: unify skb_udp_tunnel_segment() and skb_udp6_tunnel_segment()
authorCong Wang <amwang@redhat.com>
Sat, 31 Aug 2013 05:44:38 +0000 (13:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2013 02:30:01 +0000 (22:30 -0400)
commiteb3c0d83cc78361a28e52e514a7095fdbf771e7e
tree78cdcc8781c3e040546e72c49f201ba2659353d0
parentd949d826c09fb65e230f55868ff70dc581ec06fa
net: unify skb_udp_tunnel_segment() and skb_udp6_tunnel_segment()

As suggested by Pravin, we can unify the code in case of duplicated
code.

Cc: Pravin Shelar <pshelar@nicira.com>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
net/ipv6/udp_offload.c