summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2016-04-28 15:53:10 +0000
committerrrs <rrs@FreeBSD.org>2016-04-28 15:53:10 +0000
commit64e463c093d95eb52edc8c49b8e9e00db6e4840b (patch)
tree3a6517c36d65bb8d50cdb69df4ceeff85cc6d0ab /sys/net
parent24450dfc979ddb1ae32739738ad4437e896b9078 (diff)
downloadFreeBSD-src-64e463c093d95eb52edc8c49b8e9e00db6e4840b.zip
FreeBSD-src-64e463c093d95eb52edc8c49b8e9e00db6e4840b.tar.gz
Complete the UDP tunneling of ICMP msgs to those protocols
interested in having tunneled UDP and finding out about the ICMP (tested by Michael Tuexen with SCTP.. soon to be using this feature). Differential Revision: http://reviews.freebsd.org/D5875
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_vxlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_vxlan.c b/sys/net/if_vxlan.c
index 59c76eb..a5631fc 100644
--- a/sys/net/if_vxlan.c
+++ b/sys/net/if_vxlan.c
@@ -930,7 +930,7 @@ vxlan_socket_init(struct vxlan_socket *vso, struct ifnet *ifp)
}
error = udp_set_kernel_tunneling(vso->vxlso_sock,
- vxlan_rcv_udp_packet, vso);
+ vxlan_rcv_udp_packet, NULL, vso);
if (error) {
if_printf(ifp, "cannot set tunneling function: %d\n", error);
return (error);
OpenPOWER on IntegriCloud