Luiz Augusto von Dentz 1cfc3ab941 Bluetooth: Consolidate code around sk_alloc into a helper function
[ Upstream commit 6bfa273e533d7b25eee3d74e28a7fe8e6a8e7a93 ]

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>
Stable-dep-of: ce60b9231b66 ("Bluetooth: compute LE flow credits based on recvbuf space")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:03:20 +02:00
..
2022-10-07 17:04:10 -07:00