]> 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)
commitf5bce31d823f3581beec78c7d7244b8079b552b0
tree66c2bda47dc1639ff82def2b97f21614cfcf89db
parent5c310f6756911dcf925eb04d888049308af182df
parent07ebaee72baa6f81e314b2d5b6000b82cdc53a7a
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>