bluetooth - set sock owner
Subsystems (3)
PATCH 1/1 bluetooth - set sock owner
All sockets created by a protocol need to have owner field set to prevent problems with orphaned sockets during module unload.
net/bluetooth/af_bluetooth.c +1 -0
@@ -130,6 +130,7 @@ }sock_init_data (sock, sk); +sk_set_owner (sk,THIS_MODULE );INIT_LIST_HEAD (&bt_sk (sk)->accept_q); sk->sk_zapped =0 ;
David S. Miller
AppliedQuoted 2 lines · On Fri, 29 Aug 2003 11:20:59 -0700 Stephen Hemminger <[email protected]>…
All sockets created by a protocol need to have owner field set to prevent problems with orphaned sockets during module unload.
Applied, thanks Stephen.