diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2013-06-17 17:16:41 -0400 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2013-06-24 11:40:33 -0400 |
commit | 234f5b73794435f065c5fb13371415fe46956a4b (patch) | |
tree | 1cda2baad7397c666071cca38ad4e520885b85c1 /drivers/net | |
parent | bb3fd6878a983f36c994bfbd71b01b2625ddf52b (diff) |
vxlan: cosmetic cleanup's
Fix whitespace and spelling
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: David L Stevens <dlstevens@us.ibm.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/vxlan.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index d2b9ab79c9ae..3b03cd4bdf37 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c | |||
@@ -68,7 +68,7 @@ struct vxlanhdr { | |||
68 | 68 | ||
69 | /* UDP port for VXLAN traffic. | 69 | /* UDP port for VXLAN traffic. |
70 | * The IANA assigned port is 4789, but the Linux default is 8472 | 70 | * The IANA assigned port is 4789, but the Linux default is 8472 |
71 | * for compatability with early adopters. | 71 | * for compatibility with early adopters. |
72 | */ | 72 | */ |
73 | static unsigned short vxlan_port __read_mostly = 8472; | 73 | static unsigned short vxlan_port __read_mostly = 8472; |
74 | module_param_named(udp_port, vxlan_port, ushort, 0444); | 74 | module_param_named(udp_port, vxlan_port, ushort, 0444); |
@@ -210,9 +210,9 @@ static struct vxlan_dev *vxlan_find_vni(struct net *net, u32 id, __be16 port) | |||
210 | 210 | ||
211 | /* Fill in neighbour message in skbuff. */ | 211 | /* Fill in neighbour message in skbuff. */ |
212 | static int vxlan_fdb_info(struct sk_buff *skb, struct vxlan_dev *vxlan, | 212 | static int vxlan_fdb_info(struct sk_buff *skb, struct vxlan_dev *vxlan, |
213 | const struct vxlan_fdb *fdb, | 213 | const struct vxlan_fdb *fdb, |
214 | u32 portid, u32 seq, int type, unsigned int flags, | 214 | u32 portid, u32 seq, int type, unsigned int flags, |
215 | const struct vxlan_rdst *rdst) | 215 | const struct vxlan_rdst *rdst) |
216 | { | 216 | { |
217 | unsigned long now = jiffies; | 217 | unsigned long now = jiffies; |
218 | struct nda_cacheinfo ci; | 218 | struct nda_cacheinfo ci; |
@@ -1031,7 +1031,7 @@ static void vxlan_xmit_one(struct sk_buff *skb, struct net_device *dev, | |||
1031 | struct flowi4 fl4; | 1031 | struct flowi4 fl4; |
1032 | __be32 dst; | 1032 | __be32 dst; |
1033 | __be16 src_port, dst_port; | 1033 | __be16 src_port, dst_port; |
1034 | u32 vni; | 1034 | u32 vni; |
1035 | __be16 df = 0; | 1035 | __be16 df = 0; |
1036 | __u8 tos, ttl; | 1036 | __u8 tos, ttl; |
1037 | int err; | 1037 | int err; |