Bluetooth: Add support for per socket msg_name callback
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 13 Oct 2013 19:55:28 +0000 (12:55 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 13 Oct 2013 20:10:33 +0000 (23:10 +0300)
commitd97636980f6ba7344c8aa6fa349b9059c60ee478
tree98b7196d4aad90206104796f16d42d6fd1d36056
parent84b34d9867f826caecaab4444c86438935b7eb2b
Bluetooth: Add support for per socket msg_name callback

This allows to add a per socket msg_name callback that can be used
for updating the msg_name information for recvmsg() system calls.

This feature is used by another patch to support address information
on L2CAP connectionless channels.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/bluetooth.h
net/bluetooth/af_bluetooth.c