aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-06-12 21:49:43 +0000
committerDavid S. Miller <[email protected]>2023-06-15 07:21:11 +0000
commit70f7457ad6d655e65f1b93cbba2a519e4b11c946 (patch)
tree7bcb9abaa510860f230cdefe3e40417e8ed938ba /lib/test_vmalloc.c
parentrtnetlink: move validate_linkmsg out of do_setlink (diff)
downloadkernel-70f7457ad6d655e65f1b93cbba2a519e4b11c946.tar.gz
kernel-70f7457ad6d655e65f1b93cbba2a519e4b11c946.zip
net: create device lookup API with reference tracking
New users of dev_get_by_index() and dev_get_by_name() keep getting added and it would be nice to steer them towards the APIs with reference tracking. Add variants of those calls which allocate the reference tracker and use them in a couple of places. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions