Bluetooth: Consolidate code around sk_alloc into a helper function
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 25 May 2023 23:46:41 +0000 (16:46 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 11 Aug 2023 18:36:50 +0000 (11:36 -0700)
commit6bfa273e533d7b25eee3d74e28a7fe8e6a8e7a93
treeff166fbbd3010d9691fca37f979c2f2634cf270e
parent6b42f04e241732158592aac6241822cd6b4a7aae
Bluetooth: Consolidate code around sk_alloc into a helper function

This consolidates code around sk_alloc into bt_sock_alloc which does
take care of common initialization.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/bluetooth.h
net/bluetooth/af_bluetooth.c
net/bluetooth/bnep/sock.c
net/bluetooth/hci_sock.c
net/bluetooth/iso.c
net/bluetooth/l2cap_sock.c
net/bluetooth/rfcomm/sock.c
net/bluetooth/sco.c