Re: [PATCH nf-next v2 4/4] ipvs: Correct spelling in comments

From: Horatiu Vultur
Date: Tue Apr 11 2023 - 07:33:13 EST


The 04/11/2023 09:10, Simon Horman wrote:
>
> Correct some spelling errors flagged by codespell and found by inspection.

Reviewed-by: Horatiu Vultur <horatiu.vultur@xxxxxxxxxxxxx>

>
> Signed-off-by: Simon Horman <horms@xxxxxxxxxx>
> ---
> include/net/ip_vs.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
> index a3adc246ee31..ff406ef4fd4a 100644
> --- a/include/net/ip_vs.h
> +++ b/include/net/ip_vs.h
> @@ -584,7 +584,7 @@ struct ip_vs_conn {
> spinlock_t lock; /* lock for state transition */
> volatile __u16 state; /* state info */
> volatile __u16 old_state; /* old state, to be used for
> - * state transition triggerd
> + * state transition triggered
> * synchronization
> */
> __u32 fwmark; /* Fire wall mark from skb */
> @@ -635,7 +635,7 @@ struct ip_vs_service_user_kern {
> u16 protocol;
> union nf_inet_addr addr; /* virtual ip address */
> __be16 port;
> - u32 fwmark; /* firwall mark of service */
> + u32 fwmark; /* firewall mark of service */
>
> /* virtual service options */
> char *sched_name;
> @@ -1036,7 +1036,7 @@ struct netns_ipvs {
> struct ipvs_sync_daemon_cfg bcfg; /* Backup Configuration */
> /* net name space ptr */
> struct net *net; /* Needed by timer routines */
> - /* Number of heterogeneous destinations, needed becaus heterogeneous
> + /* Number of heterogeneous destinations, needed because heterogeneous
> * are not supported when synchronization is enabled.
> */
> unsigned int mixed_address_family_dests;
>
> --
> 2.30.2
>

--
/Horatiu