projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e61aa8
)
vxlan: port module param should be ushort
author
Stephen Hemminger
<stephen@networkplumber.org>
Mon, 17 Jun 2013 21:16:12 +0000
(14:16 -0700)
committer
Stephen Hemminger
<stephen@networkplumber.org>
Mon, 24 Jun 2013 15:40:33 +0000
(08:40 -0700)
UDP ports are limited to 16 bits.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/vxlan.c
patch
|
blob
|
history
diff --git
a/drivers/net/vxlan.c
b/drivers/net/vxlan.c
index 117b7fa6f33bee60491faba70b8964c97b193164..f89a58bb3f267b79ac90066645679075fbc775ce 100644
(file)
--- a/
drivers/net/vxlan.c
+++ b/
drivers/net/vxlan.c
@@
-70,8
+70,8
@@
struct vxlanhdr {
* The IANA assigned port is 4789, but the Linux default is 8472
* for compatability with early adopters.
*/
-static unsigned
in
t vxlan_port __read_mostly = 8472;
-module_param_named(udp_port, vxlan_port, u
in
t, 0444);
+static unsigned
shor
t vxlan_port __read_mostly = 8472;
+module_param_named(udp_port, vxlan_port, u
shor
t, 0444);
MODULE_PARM_DESC(udp_port, "Destination UDP port");
static bool log_ecn_error = true;