ipvs: Correct spelling in comments
authorSimon Horman <horms@kernel.org>
Mon, 17 Apr 2023 15:10:48 +0000 (17:10 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Apr 2023 23:39:41 +0000 (01:39 +0200)
Correct some spelling errors flagged by codespell and found by inspection.

Signed-off-by: Simon Horman <horms@kernel.org>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/ip_vs.h

index a3adc24..ff406ef 100644 (file)
@@ -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;