aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev_api.c
diff options
context:
space:
mode:
authorStanislav Fomichev <[email protected]>2025-07-17 17:23:28 +0000
committerJakub Kicinski <[email protected]>2025-07-19 00:27:46 +0000
commitaf1d017377c1c1931bfb898e719ab712cf79f944 (patch)
treeb68aa226d019f1e2e4e57dcdecd2aec19d820e90 /net/core/dev_api.c
parentnet: s/dev_get_port_parent_id/netif_get_port_parent_id/ (diff)
downloadkernel-af1d017377c1c1931bfb898e719ab712cf79f944.tar.gz
kernel-af1d017377c1c1931bfb898e719ab712cf79f944.zip
net: s/dev_get_mac_address/netif_get_mac_address/
Commit cc34acd577f1 ("docs: net: document new locking reality") introduced netif_ vs dev_ function semantics: the former expects locked netdev, the latter takes care of the locking. We don't strictly follow this semantics on either side, but there are more dev_xxx handlers now that don't fit. Rename them to netif_xxx where appropriate. netif_get_mac_address is used only by tun/tap, so move it into NETDEV_INTERNAL namespace. Signed-off-by: Stanislav Fomichev <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions