aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSven Eckelmann <[email protected]>2025-04-14 18:05:37 +0000
committerJakub Kicinski <[email protected]>2025-04-16 00:56:47 +0000
commit10a77965760c6e2b3eef483be33ae407004df894 (patch)
tree5bf6e6be6ed36c9d7ac1e1071a6b6d6f76afa3c2 /net/unix/af_unix.c
parentMerge branch 'fib_rules-fix-iif-oif-matching-on-l3-master-device' (diff)
downloadkernel-10a77965760c6e2b3eef483be33ae407004df894.tar.gz
kernel-10a77965760c6e2b3eef483be33ae407004df894.zip
batman-adv: Fix double-hold of meshif when getting enabled
It was originally meant to replace the dev_hold with netdev_hold. But this was missed in batadv_hardif_enable_interface(). As result, there was an imbalance and a hang when trying to remove the mesh-interface with (previously) active hard-interfaces: unregister_netdevice: waiting for batadv0 to become free. Usage count = 3 Fixes: 00b35530811f ("batman-adv: adopt netdev_hold() / netdev_put()") Suggested-by: Eric Dumazet <[email protected]> Reported-by: [email protected] Reported-by: [email protected] Reported-by: [email protected] Reported-by: [email protected] Reported-by: [email protected] Signed-off-by: Sven Eckelmann <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions