mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
Documentation: net: Fix typos in netdevices.rst
Fixes two minor typos. Specifically, on -> or and Devices -> Device. Signed-off-by: Dimitri Daskalakis <dimitri.daskalakis1@gmail.com> Link: https://patch.msgid.link/20260122225723.2368698-1-dimitri.daskalakis1@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
eac026ff97
commit
3085ff59fe
|
|
@ -80,7 +80,7 @@ unregister_netdev() closes the device and waits for all users to be done
|
|||
with it. The memory of struct net_device itself may still be referenced
|
||||
by sysfs but all operations on that device will fail.
|
||||
|
||||
free_netdev() can be called after unregister_netdev() returns on when
|
||||
free_netdev() can be called after unregister_netdev() returns or when
|
||||
register_netdev() failed.
|
||||
|
||||
Device management under RTNL
|
||||
|
|
@ -333,7 +333,7 @@ In the future, there will be an option for individual
|
|||
drivers to opt out of using ``rtnl_lock`` and instead perform their control
|
||||
operations directly under the netdev instance lock.
|
||||
|
||||
Devices drivers are encouraged to rely on the instance lock where possible.
|
||||
Device drivers are encouraged to rely on the instance lock where possible.
|
||||
|
||||
For the (mostly software) drivers that need to interact with the core stack,
|
||||
there are two sets of interfaces: ``dev_xxx``/``netdev_xxx`` and ``netif_xxx``
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user