datapath: Use alternate name for udp_sock_create() backport
authorThomas Graf <tgraf@noironetworks.com>
Mon, 30 Mar 2015 10:21:09 +0000 (12:21 +0200)
committerThomas Graf <tgraf@noironetworks.com>
Mon, 30 Mar 2015 23:19:06 +0000 (01:19 +0200)
commit4adb03cb6e62d938b586e68aae7af06587e58f49
tree6a93e04c4b06c3dbe65f2e2a44e02606f2e3bb4c
parent7ad20cbd96b9b33a2e01be36dc51674fde8b67bf
datapath: Use alternate name for udp_sock_create() backport

Account for kernels which provide udp_sock_create() in an
insufficient version.

Avoids the following error when inserting openvswitch.ko on
respective kernels:

openvswitch: exports duplicate symbol udp_sock_create (owned by udp_tunnel)

Fixes: eb6eebd28 ("datapath: Account for "udp: Add udp_sock_create for UDP tunnels to open listener socket")
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Cc: Jesse Gross <jesse@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/include/net/udp_tunnel.h