aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorSimon Horman <simon.horman@netronome.com>2015-04-01 22:17:58 -0400
committerDavid S. Miller <davem@davemloft.net>2015-04-01 22:52:29 -0400
commitc4b495128c5d941607179f18ec07c36bd2a3fc38 (patch)
treee2740e1a3ba448e4bd70cee66620b69a39123aae /drivers/net/vxlan.c
parent7887456e9da0fc57e8cc5ab50743539440e50750 (diff)
vxlan: correct spelling in comments
Fix some spelling / typos: * droppped -> dropped * asddress -> address * compatbility -> compatibility Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxlan.c')
-rw-r--r--drivers/net/vxlan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index a8d345054d23..b5fecb49a0c6 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -989,7 +989,7 @@ out:
989 989
990/* Watch incoming packets to learn mapping between Ethernet address 990/* Watch incoming packets to learn mapping between Ethernet address
991 * and Tunnel endpoint. 991 * and Tunnel endpoint.
992 * Return true if packet is bogus and should be droppped. 992 * Return true if packet is bogus and should be dropped.
993 */ 993 */
994static bool vxlan_snoop(struct net_device *dev, 994static bool vxlan_snoop(struct net_device *dev,
995 union vxlan_addr *src_ip, const u8 *src_mac) 995 union vxlan_addr *src_ip, const u8 *src_mac)
@@ -1085,7 +1085,7 @@ void vxlan_sock_release(struct vxlan_sock *vs)
1085EXPORT_SYMBOL_GPL(vxlan_sock_release); 1085EXPORT_SYMBOL_GPL(vxlan_sock_release);
1086 1086
1087/* Update multicast group membership when first VNI on 1087/* Update multicast group membership when first VNI on
1088 * multicast asddress is brought up 1088 * multicast address is brought up
1089 */ 1089 */
1090static int vxlan_igmp_join(struct vxlan_dev *vxlan) 1090static int vxlan_igmp_join(struct vxlan_dev *vxlan)
1091{ 1091{
@@ -1229,7 +1229,7 @@ static int vxlan_udp_encap_recv(struct sock *sk, struct sk_buff *skb)
1229 * this as a malformed packet. This behavior diverges from 1229 * this as a malformed packet. This behavior diverges from
1230 * VXLAN RFC (RFC7348) which stipulates that bits in reserved 1230 * VXLAN RFC (RFC7348) which stipulates that bits in reserved
1231 * in reserved fields are to be ignored. The approach here 1231 * in reserved fields are to be ignored. The approach here
1232 * maintains compatbility with previous stack code, and also 1232 * maintains compatibility with previous stack code, and also
1233 * is more robust and provides a little more security in 1233 * is more robust and provides a little more security in
1234 * adding extensions to VXLAN. 1234 * adding extensions to VXLAN.
1235 */ 1235 */