Commit d436b5ab authored by Alok Tiwari's avatar Alok Tiwari Committed by Jakub Kicinski
Browse files

ipv4: udp: fix typos in comments



Correct typos in ipv4/udp.c comments for clarity:
"Encapulation" -> "Encapsulation"
"measureable" -> "measurable"
"tacking care" -> "taking care"

No functional changes.

Signed-off-by: default avatarAlok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250907192535.3610686-1-alok.a.tiwari@oracle.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 1c0353a6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 @@ static struct sock *udp4_lib_lookup2(const struct net *net,

			/* 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,