All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: David Miller <davem@davemloft.net>, netdev@vger.kernel.org
Cc: Kenneth Duda <kduda@aristanetworks.com>,
	Chris Wright <chrisw@sous-sol.org>
Subject: [PATCH net] vxlan: use IANA assigned port
Date: Fri, 26 Apr 2013 16:33:46 -0700	[thread overview]
Message-ID: <20130426163346.762c41c1@nehalam.linuxnetplumber.net> (raw)

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");
 

             reply	other threads:[~2013-04-26 23:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26 23:33 Stephen Hemminger [this message]
2013-04-26 23:44 ` [PATCH net] vxlan: use IANA assigned port 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130426163346.762c41c1@nehalam.linuxnetplumber.net \
    --to=stephen@networkplumber.org \
    --cc=chrisw@sous-sol.org \
    --cc=davem@davemloft.net \
    --cc=kduda@aristanetworks.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.