]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/netdev/netdev.c
network/netdev: call done() per netdev kind before freeing netdev name or so
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 3 Jan 2024 19:10:31 +0000 (04:10 +0900)
committerMike Yuan <me@yhndnzj.com>
Thu, 4 Jan 2024 12:34:14 +0000 (20:34 +0800)
commitf475584ebf3772b26c81d0f5efd690207feaa156
tree602294efd192765ec620e423f155fa48256a424f
parentefc438d928608468d9eb8111e5f842b2880394c4
network/netdev: call done() per netdev kind before freeing netdev name or so

Otherwise, log_netdev_xyz() does not provide netdev name if it is called
in done(). It is hard to debug.

This should not change any effective behavior, at least with the current
implementation of done() per netdev kind.
src/network/netdev/netdev.c