]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: listen on multiple ports
authorstephen hemminger <stephen@networkplumber.org>
Thu, 16 May 2013 11:35:20 +0000 (11:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 May 2013 21:06:29 +0000 (14:06 -0700)
commiteacd25b9835c398c53f2a81d3ae17c2f92334cab
tree6345ef556d6eeac40b9a287c9e70f559a99eae03
parentd13595f6efe3fe1642a5ff8d9336c94d2d36293a
vxlan: listen on multiple ports

The commit d9036d3e57b87770dd31d6c6fc0c403b6c93acd0
  Author: stephen hemminger <stephen@networkplumber.org>
  Date:   Sat Apr 27 11:31:57 2013 +0000

    vxlan: allow choosing destination port per vxlan

introduced per-vxlan UDP port configuration but only did half of the
necessary work.  It added per vxlan destination for sending, but
overlooked the handling of multiple ports for incoming traffic.

This patch changes the listening port management to handle multiple
incoming UDP ports. The earlier per-namespace structure is now a hash
list per namespace.

It is also now possible to define the same virtual network id
but with different UDP port values which can be useful for migration.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c