Commit 234f5b73 authored by Stephen Hemminger's avatar Stephen Hemminger

vxlan: cosmetic cleanup's

Fix whitespace and spelling
Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Acked-by: default avatarDavid L Stevens <dlstevens@us.ibm.com>
parent bb3fd687
...@@ -68,7 +68,7 @@ struct vxlanhdr { ...@@ -68,7 +68,7 @@ struct vxlanhdr {
/* UDP port for VXLAN traffic. /* UDP port for VXLAN traffic.
* The IANA assigned port is 4789, but the Linux default is 8472 * The IANA assigned port is 4789, but the Linux default is 8472
* for compatability with early adopters. * for compatibility with early adopters.
*/ */
static unsigned short vxlan_port __read_mostly = 8472; static unsigned short vxlan_port __read_mostly = 8472;
module_param_named(udp_port, vxlan_port, ushort, 0444); 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,9 +210,9 @@ static struct vxlan_dev *vxlan_find_vni(struct net *net, u32 id, __be16 port)
/* Fill in neighbour message in skbuff. */ /* Fill in neighbour message in skbuff. */
static int vxlan_fdb_info(struct sk_buff *skb, struct vxlan_dev *vxlan, static int vxlan_fdb_info(struct sk_buff *skb, struct vxlan_dev *vxlan,
const struct vxlan_fdb *fdb, const struct vxlan_fdb *fdb,
u32 portid, u32 seq, int type, unsigned int flags, u32 portid, u32 seq, int type, unsigned int flags,
const struct vxlan_rdst *rdst) const struct vxlan_rdst *rdst)
{ {
unsigned long now = jiffies; unsigned long now = jiffies;
struct nda_cacheinfo ci; struct nda_cacheinfo ci;
...@@ -1031,7 +1031,7 @@ static void vxlan_xmit_one(struct sk_buff *skb, struct net_device *dev, ...@@ -1031,7 +1031,7 @@ static void vxlan_xmit_one(struct sk_buff *skb, struct net_device *dev,
struct flowi4 fl4; struct flowi4 fl4;
__be32 dst; __be32 dst;
__be16 src_port, dst_port; __be16 src_port, dst_port;
u32 vni; u32 vni;
__be16 df = 0; __be16 df = 0;
__u8 tos, ttl; __u8 tos, ttl;
int err; int err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment