Bluetooth: Init sk_peer_* on bt_sock_alloc

[ Upstream commit 464c702fb9 ]

This makes sure peer information is always available via sock when using
bt_sock_alloc.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Stable-dep-of: e83f5e24da ("Bluetooth: serialize accept_q access")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Luiz Augusto von Dentz 2026-05-29 19:38:25 -04:00 • committed by Greg Kroah-Hartman
commit 444f4530df
3 changed files with 25 additions and 28 deletions