Browse Source

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>
Simon Horman 10 năm trước cách đây
mục cha
commit
c4b495128c
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      drivers/net/vxlan.c

+ 3 - 3
drivers/net/vxlan.c

@@ -989,7 +989,7 @@ out:
 
 
 /* Watch incoming packets to learn mapping between Ethernet address
 /* Watch incoming packets to learn mapping between Ethernet address
  * and Tunnel endpoint.
  * and Tunnel endpoint.
- * Return true if packet is bogus and should be droppped.
+ * Return true if packet is bogus and should be dropped.
  */
  */
 static bool vxlan_snoop(struct net_device *dev,
 static bool vxlan_snoop(struct net_device *dev,
 			union vxlan_addr *src_ip, const u8 *src_mac)
 			union vxlan_addr *src_ip, const u8 *src_mac)
@@ -1085,7 +1085,7 @@ void vxlan_sock_release(struct vxlan_sock *vs)
 EXPORT_SYMBOL_GPL(vxlan_sock_release);
 EXPORT_SYMBOL_GPL(vxlan_sock_release);
 
 
 /* Update multicast group membership when first VNI on
 /* Update multicast group membership when first VNI on
- * multicast asddress is brought up
+ * multicast address is brought up
  */
  */
 static int vxlan_igmp_join(struct vxlan_dev *vxlan)
 static int vxlan_igmp_join(struct vxlan_dev *vxlan)
 {
 {
@@ -1229,7 +1229,7 @@ static int vxlan_udp_encap_recv(struct sock *sk, struct sk_buff *skb)
 		 * this as a malformed packet. This behavior diverges from
 		 * this as a malformed packet. This behavior diverges from
 		 * VXLAN RFC (RFC7348) which stipulates that bits in reserved
 		 * VXLAN RFC (RFC7348) which stipulates that bits in reserved
 		 * in reserved fields are to be ignored. The approach here
 		 * in reserved fields are to be ignored. The approach here
-		 * maintains compatbility with previous stack code, and also
+		 * maintains compatibility with previous stack code, and also
 		 * is more robust and provides a little more security in
 		 * is more robust and provides a little more security in
 		 * adding extensions to VXLAN.
 		 * adding extensions to VXLAN.
 		 */
 		 */