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

Simon Horman horms at kernel.org
Tue Aug 27 08:25:43 UTC 2024


On Mon, Aug 26, 2024 at 09:45:07AM -0700, Jakub Kicinski wrote:
> 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.

Thanks. I was trying to stick to strictly spelling fixes.
I'll submit a follow-up for this to (hopefully) improve the grammar.
You can take it or leave it :)



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