aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/tipc
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-12-09 12:50:54 +0000
committerMark Brown <broonie@kernel.org>2024-12-09 12:50:54 +0000
commita6ebabd0e53d4352abe0fd2ad156a52162f5d3ce (patch)
tree314722a9a6b0cc327b4aaacfd145a2b5887af686 /net/tipc
parentregulator: bd96801: Add ERRB IRQ (diff)
parentLinux 6.13-rc2 (diff)
downloadwireguard-linux-a6ebabd0e53d4352abe0fd2ad156a52162f5d3ce.tar.xz
wireguard-linux-a6ebabd0e53d4352abe0fd2ad156a52162f5d3ce.zip
regulator: Merge up v6.12-rc2
This has fixes for several boards which help my testing a lot.
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/udp_media.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/udp_media.c b/net/tipc/udp_media.c
index 439f75539977..b7e25e7e9933 100644
--- a/net/tipc/udp_media.c
+++ b/net/tipc/udp_media.c
@@ -814,10 +814,10 @@ static void cleanup_bearer(struct work_struct *work)
kfree_rcu(rcast, rcu);
}
- atomic_dec(&tipc_net(sock_net(ub->ubsock->sk))->wq_count);
dst_cache_destroy(&ub->rcast.dst_cache);
udp_tunnel_sock_release(ub->ubsock);
synchronize_net();
+ atomic_dec(&tipc_net(sock_net(ub->ubsock->sk))->wq_count);
kfree(ub);
}