linux-sg2042/include
Marcel Holtmann 4f1654e084 Bluetooth: Return the correct address type for L2CAP sockets
The L2CAP sockets can use BR/EDR public, LE public and LE random
addresses for various combinations of source and destination
devices. So make sure that getsockname(), getpeername() and
accept() return the correct address type.

For this the address type of the source and destination is stored
with the L2CAP channel information. The stored address type is
not the one specific for the HCI protocol. It is the address
type used for the L2CAP sockets and the management interface.

The underlying HCI connections store the HCI address type. If
needed, it gets converted to the socket address type.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2013-10-13 18:58:30 +03:00
..
acpi
asm-generic
clocksource ARM: SoC cleanups for 3.12 2013-09-06 13:21:16 -07:00
crypto
drm
dt-bindings ARM: SoC DT updates for 3.12 2013-09-06 13:26:27 -07:00
keys
kvm
linux lockref: add ability to mark lockrefs "dead" 2013-09-07 15:49:18 -07:00
math-emu
media
memory
misc
net Bluetooth: Return the correct address type for L2CAP sockets 2013-10-13 18:58:30 +03:00
pcmcia
ras
rdma
rxrpc
scsi
sound
target
trace
uapi Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2013-09-07 14:34:07 -07:00
video
xen
Kbuild