Commit a8c924e9 authored by Simon Horman's avatar Simon Horman Committed by Jakub Kicinski
Browse files

net: Correct spelling in net/core



Correct spelling in net/core.
As reported by codespell.

Signed-off-by: default avatarSimon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240822-net-spell-v1-13-3a98971ce2d2@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 70d0bb45
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3707,7 +3707,7 @@ struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *d
		next = skb->next;
		skb_mark_not_on_list(skb);

		/* in case skb wont be segmented, point to itself */
		/* in case skb won't be segmented, point to itself */
		skb->prev = skb;

		skb = validate_xmit_skb(skb, dev, again);
@@ -11432,7 +11432,7 @@ void unregister_netdevice_many_notify(struct list_head *head,
 *	@head: list of devices
 *
 *  Note: As most callers use a stack allocated list_head,
 *  we force a list_del() to make sure stack wont be corrupted later.
 *  we force a list_del() to make sure stack won't be corrupted later.
 */
void unregister_netdevice_many(struct list_head *head)
{
@@ -11490,7 +11490,7 @@ int __dev_change_net_namespace(struct net_device *dev, struct net *net,
	if (dev->features & NETIF_F_NETNS_LOCAL)
		goto out;

	/* Ensure the device has been registrered */
	/* Ensure the device has been registered */
	if (dev->reg_state != NETREG_REGISTERED)
		goto out;

+3 −3
Original line number Diff line number Diff line
@@ -262,7 +262,7 @@ static int __hw_addr_sync_multiple(struct netdev_hw_addr_list *to_list,
}

/* This function only works where there is a strict 1-1 relationship
 * between source and destionation of they synch. If you ever need to
 * between source and destination of they synch. If you ever need to
 * sync addresses to more then 1 destination, you need to use
 * __hw_addr_sync_multiple().
 */
@@ -299,8 +299,8 @@ void __hw_addr_unsync(struct netdev_hw_addr_list *to_list,
EXPORT_SYMBOL(__hw_addr_unsync);

/**
 *  __hw_addr_sync_dev - Synchonize device's multicast list
 *  @list: address list to syncronize
 *  __hw_addr_sync_dev - Synchronize device's multicast list
 *  @list: address list to synchronize
 *  @dev:  device to sync
 *  @sync: function to call if address should be added
 *  @unsync: function to call if address should be removed
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ int fib_default_rule_add(struct fib_rules_ops *ops,
	r->suppress_prefixlen = -1;
	r->suppress_ifgroup = -1;

	/* The lock is not required here, the list in unreacheable
	/* The lock is not required here, the list in unreachable
	 * at the moment this function is called */
	list_add_tail(&r->list, &ops->rules_list);
	return 0;
+1 −1
Original line number Diff line number Diff line
@@ -374,7 +374,7 @@ static void gro_list_prepare(const struct list_head *head,
				       skb_mac_header(skb),
				       maclen);

		/* in most common scenarions 'slow_gro' is 0
		/* in most common scenarios 'slow_gro' is 0
		 * otherwise we are already on some slower paths
		 * either skip all the infrequent tests altogether or
		 * avoid trying too hard to skip each of them individually
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ static void poll_one_napi(struct napi_struct *napi)
	if (test_and_set_bit(NAPI_STATE_NPSVC, &napi->state))
		return;

	/* We explicilty pass the polling call a budget of 0 to
	/* We explicitly pass the polling call a budget of 0 to
	 * indicate that we are clearing the Tx path only.
	 */
	work = napi->poll(napi, 0);
Loading