mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 19:43:43 -04:00
net: s/dev_get_flags/netif_get_flags/
Commit cc34acd577 ("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.
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250717172333.1288349-6-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
303a8487a6
commit
93893a57ef
@@ -4196,7 +4196,7 @@ int generic_hwtstamp_set_lower(struct net_device *dev,
|
||||
struct kernel_hwtstamp_config *kernel_cfg,
|
||||
struct netlink_ext_ack *extack);
|
||||
int dev_ethtool(struct net *net, struct ifreq *ifr, void __user *userdata);
|
||||
unsigned int dev_get_flags(const struct net_device *);
|
||||
unsigned int netif_get_flags(const struct net_device *dev);
|
||||
int __dev_change_flags(struct net_device *dev, unsigned int flags,
|
||||
struct netlink_ext_ack *extack);
|
||||
int netif_change_flags(struct net_device *dev, unsigned int flags,
|
||||
|
||||
Reference in New Issue
Block a user