diff options
| author | 2022-07-29 09:10:35 +0200 | |
|---|---|---|
| committer | 2022-08-01 12:14:00 +0100 | |
| commit | c2368b19807affd7621f7c4638cd2e17fec13021 (patch) | |
| tree | 38c720776e02ac404d0ac9e53cb64aa581c8f2f9 /include/soc/git:/ssh:/git@git.zx2c4.com | |
| parent | udp: Remove redundant __udp_sysctl_init() call from udp_init(). (diff) | |
| download | linux-dev-c2368b19807affd7621f7c4638cd2e17fec13021.tar.xz linux-dev-c2368b19807affd7621f7c4638cd2e17fec13021.zip | |
net: devlink: introduce "unregistering" mark and use it during devlinks iteration
Add new mark called "unregistering" to be set at the beginning of
devlink_unregister() function. Check this mark during devlinks
iteration in order to prevent getting a reference of devlink which is
being currently unregistered.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/soc/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
