]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ipv4: udp: fix typos in comments
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Sun, 7 Sep 2025 19:25:32 +0000 (12:25 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 9 Sep 2025 23:29:05 +0000 (16:29 -0700)
Correct typos in ipv4/udp.c comments for clarity:
"Encapulation" -> "Encapsulation"
"measureable" -> "measurable"
"tacking care" -> "taking care"

No functional changes.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250907192535.3610686-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/udp.c

index 732bdad43626948168bdb9e40c151787f047bbfd..cca41c569f37621404829e096306ba7d78ce4d43 100644 (file)
@@ -68,7 +68,7 @@
  *     YOSHIFUJI Hideaki @USAGI and:   Support IPV6_V6ONLY socket option, which
  *     Alexey Kuznetsov:               allow both IPv4 and IPv6 sockets to bind
  *                                     a single port at the same time.
- *     Derek Atkins <derek@ihtfp.com>: Add Encapulation Support
+ *     Derek Atkins <derek@ihtfp.com>: Add Encapsulation Support
  *     James Chapman           :       Add L2TP encapsulation type.
  */
 
@@ -509,7 +509,7 @@ rescore:
 
                        /* compute_score is too long of a function to be
                         * inlined, and calling it again here yields
-                        * measureable overhead for some
+                        * measurable overhead for some
                         * workloads. Work around it by jumping
                         * backwards to rescore 'result'.
                         */
@@ -2609,7 +2609,7 @@ static inline int udp4_csum_init(struct sk_buff *skb, struct udphdr *uh,
        return 0;
 }
 
-/* wrapper for udp_queue_rcv_skb tacking care of csum conversion and
+/* wrapper for udp_queue_rcv_skb taking care of csum conversion and
  * return code conversion for ip layer consumption
  */
 static int udp_unicast_rcv_skb(struct sock *sk, struct sk_buff *skb,