[PATCH net-next 12/13] net: Correct spelling in headers

Jakub Kicinski kuba at kernel.org
Mon Aug 26 16:45:07 UTC 2024


On Thu, 22 Aug 2024 13:57:33 +0100 Simon Horman wrote:
> diff --git a/include/net/dropreason-core.h b/include/net/dropreason-core.h
> index 9707ab54fdd5..4748680e8c88 100644
> --- a/include/net/dropreason-core.h
> +++ b/include/net/dropreason-core.h
> @@ -155,8 +155,8 @@ enum skb_drop_reason {
>  	/** @SKB_DROP_REASON_SOCKET_RCVBUFF: socket receive buff is full */
>  	SKB_DROP_REASON_SOCKET_RCVBUFF,
>  	/**
> -	 * @SKB_DROP_REASON_PROTO_MEM: proto memory limition, such as udp packet
> -	 * drop out of udp_memory_allocated.
> +	 * @SKB_DROP_REASON_PROTO_MEM: proto memory limitation, such as
> +	 * udp packet drop out of udp_memory_allocated.
>  	 */
>  	SKB_DROP_REASON_PROTO_MEM,
>  	/**
> @@ -217,7 +217,7 @@ enum skb_drop_reason {
>  	 */
>  	SKB_DROP_REASON_TCP_ZEROWINDOW,
>  	/**
> -	 * @SKB_DROP_REASON_TCP_OLD_DATA: the TCP data reveived is already
> +	 * @SKB_DROP_REASON_TCP_OLD_DATA: the TCP data received is already
>  	 * received before (spurious retrans may happened), see
>  	 * LINUX_MIB_DELAYEDACKLOST
>  	 */

I'd have been tempted to improve the grammar of these while at it.
But I guess that'd make the patch more than a spelling fix.



More information about the Linux-security-module-archive mailing list