]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'udp-tunnel-common'
authorDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2014 19:57:46 +0000 (15:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2014 19:57:46 +0000 (15:57 -0400)
commit7162512a51bd83606d32066019552657ac8172ac
tree66c2bda47dc1639ff82def2b97f21614cfcf89db
parent00255240cece853c05ea37e49168ae728acb21c2
parentf92cf14a6c1f777a7c4a7466e87a94e537998dc9
Merge branch 'udp-tunnel-common'

Andy Zhou says:

====================
Refactor vxlan and l2tp to use new common UDP tunnel APIs

This patch series add a few more UDP tunnel APIs and refactoring current
UDP tunnel based protocols, vxlan and l2tp to make use of the new APIs.

The added APIs are setup_udp_tunnel_sock(), udp_tunnel_xmit_skb() and
udp_tunnel_sock_release(). Those implementation logics already exist in
current vxlan and l2tp implementation. Move them to common APIs to reduce
code duplications.

Also split udp_tunnel.c into net/ipv4/udp_tunnel.c and
net/ipv6/ip6_udp_tunnel.c to maintain proper IP protocol separation.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>