diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-01-10 01:11:47 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-10 01:11:47 +0100 |
commit | 14ea4cd1b19162888f629c4ce1ba268c683b0f12 (patch) | |
tree | 8b1c111ec9daa8eebbf6262acadbe96423895ed1 /net/mac802154 | |
parent | Merge branch 'tools-ynl-add-install-target' (diff) | |
parent | Merge tag 'net-6.13-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/net... (diff) | |
download | linux-14ea4cd1b19162888f629c4ce1ba268c683b0f12.tar.xz linux-14ea4cd1b19162888f629c4ce1ba268c683b0f12.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR (net-6.13-rc7).
Conflicts:
a42d71e322a8 ("net_sched: sch_cake: Add drop reasons")
737d4d91d35b ("sched: sch_cake: add bounds checks to host bulk flow fairness counts")
Adjacent changes:
drivers/net/ethernet/meta/fbnic/fbnic.h
3a856ab34726 ("eth: fbnic: add IRQ reuse support")
95978931d55f ("eth: fbnic: Revert "eth: fbnic: Add hardware monitoring support via HWMON interface"")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mac802154')
-rw-r--r-- | net/mac802154/iface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac802154/iface.c b/net/mac802154/iface.c index c0e2da5072be..9e4631fade90 100644 --- a/net/mac802154/iface.c +++ b/net/mac802154/iface.c @@ -684,6 +684,10 @@ void ieee802154_if_remove(struct ieee802154_sub_if_data *sdata) ASSERT_RTNL(); mutex_lock(&sdata->local->iflist_mtx); + if (list_empty(&sdata->local->interfaces)) { + mutex_unlock(&sdata->local->iflist_mtx); + return; + } list_del_rcu(&sdata->list); mutex_unlock(&sdata->local->iflist_mtx); |