diff options
| author | Jakub Kicinski <[email protected]> | 2022-06-08 04:39:55 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-06-10 04:52:55 +0000 |
| commit | d62607c3fe45911b2331fac073355a8c914bbde2 (patch) | |
| tree | 98e65752bd2625eac69263dc4e41eeafda3c8731 /net/sched/sch_api.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
| download | kernel-d62607c3fe45911b2331fac073355a8c914bbde2.tar.gz kernel-d62607c3fe45911b2331fac073355a8c914bbde2.zip | |
net: rename reference+tracking helpers
Netdev reference helpers have a dev_ prefix for historic
reasons. Renaming the old helpers would be too much churn
but we can rename the tracking ones which are relatively
recent and should be the default for new code.
Rename:
dev_hold_track() -> netdev_hold()
dev_put_track() -> netdev_put()
dev_replace_track() -> netdev_ref_replace()
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/sched/sch_api.c')
| -rw-r--r-- | net/sched/sch_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index e3c0e8ea2dbb..bf87b50837a8 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c @@ -1292,7 +1292,7 @@ err_out5: if (ops->destroy) ops->destroy(sch); err_out3: - dev_put_track(dev, &sch->dev_tracker); + netdev_put(dev, &sch->dev_tracker); qdisc_free(sch); err_out2: module_put(ops->owner); |
