]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dst: add net device refcount tracking to dst_entry
authorEric Dumazet <edumazet@google.com>
Sun, 5 Dec 2021 04:22:03 +0000 (20:22 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 Dec 2021 00:05:10 +0000 (16:05 -0800)
commit9038c320001dd07f60736018edf608ac5baca0ab
treefea21a92f9a586370c4c85a5aab4adca4c160e7f
parent4dbd24f65c60259ce5d1563433ecaf5fab693c83
net: dst: add net device refcount tracking to dst_entry

We want to track all dev_hold()/dev_put() to ease leak hunting.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/netdevice.h
include/net/dst.h
net/core/dst.c
net/ipv4/route.c
net/ipv6/route.c