summaryrefslogtreecommitdiff
path: root/net/mptcp/sockopt.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-12-06 21:56:03 -0800
committerJakub Kicinski <kuba@kernel.org>2021-12-07 10:41:54 -0800
commitc0e5e11af12b76d0dbed700c1088c6827cdcf56c (patch)
tree029196f72b797cb111ce4cdd25659163b9d18c8a /net/mptcp/sockopt.c
parent1c5526968e270e4efccfa1da21d211a4915cdeda (diff)
vrf: use dev_replace_track() for better tracking
vrf_rt6_release() and vrf_rtable_release() changes dst->dev Instead of dev_hold(ndev); dev_put(odev); We should use dev_replace_track(odev, ndev, &dst->dev_tracker, GFP_KERNEL); If we do not transfer dst->dev_tracker to the new device, we will get warnings from ref_tracker_dir_exit() when odev is finally dismantled. Fixes: 9038c320001d ("net: dst: add net device refcount tracking to dst_entry") Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20211207055603.1926372-1-eric.dumazet@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/sockopt.c')
0 files changed, 0 insertions, 0 deletions