aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2023-06-15 07:21:12 +0000
committerDavid S. Miller <[email protected]>2023-06-15 07:21:12 +0000
commit473f5e13b38b9533bd3ae0758418581eabf69b50 (patch)
tree498f35c9dae873ea7cba0949b2dc350e3b8d189a /lib/test_vmalloc.c
parentrtnetlink: move validate_linkmsg out of do_setlink (diff)
parentnetpoll: allocate netdev tracker right away (diff)
downloadkernel-473f5e13b38b9533bd3ae0758418581eabf69b50.tar.gz
kernel-473f5e13b38b9533bd3ae0758418581eabf69b50.zip
Merge branch 'netdev-tracking'
Jakub Kicinski says: ==================== net: create device lookup API with reference tracking We still see dev_hold() / dev_put() calls without reference tracker getting added in new code. dev_get_by_name() / dev_get_by_index() seem to be one of the sources of those. Provide appropriate helpers. Allocating the tracker can obviously be done with an additional call to netdev_tracker_alloc(), but a single API feels cleaner. v2: - fix a dev_put() in ethtool v1: https://lore.kernel.org/all/[email protected]/ ==================== Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions