netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] vxlan: use IANA assigned port
@ 2013-04-26 23:33 Stephen Hemminger
  2013-04-26 23:44 ` David Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2013-04-26 23:33 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: Kenneth Duda, Chris Wright

Ken Duda of Arista Networks, one of the VXLAN RFC authors notified
me that IANA has assigned an official port for VXLAN. My initial version
of the driver used the value from CISCO LISP that was also being used by
OpenVswitch.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>


--- a/drivers/net/vxlan.c	2013-04-22 15:44:00.962002827 -0700
+++ b/drivers/net/vxlan.c	2013-04-26 16:29:19.349507680 -0700
@@ -8,7 +8,6 @@
  * published by the Free Software Foundation.
  *
  * TODO
- *  - use IANA UDP port number (when defined)
  *  - IPv6 (not in RFC)
  */
 
@@ -66,7 +65,7 @@ struct vxlanhdr {
 };
 
 /* UDP port for VXLAN traffic. */
-static unsigned int vxlan_port __read_mostly = 8472;
+static unsigned int vxlan_port __read_mostly = 4789;
 module_param_named(udp_port, vxlan_port, uint, 0444);
 MODULE_PARM_DESC(udp_port, "Destination UDP port");
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-27  7:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-26 23:33 [PATCH net] vxlan: use IANA assigned port Stephen Hemminger
2013-04-26 23:44 ` David Miller
2013-04-27  1:51   ` Chris Wright
2013-04-27  3:22     ` David Miller
     [not found]       ` <CAOaVG14yv=TixikAkrjEOTBznoC6YDqm1vb4ByZ32bgXM3Q7xQ@mail.gmail.com>
2013-04-27  7:43         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).