linux/net/bluetooth/hidp
David Herrmann 2df012001d Bluetooth: hidp: handle kernel_sendmsg() errors correctly
We shouldn't push back the skbs if kernel_sendmsg() fails. Instead, we
terminate the connection and drop the skb. Only on EAGAIN we push it back
and return.
l2cap doesn't return EAGAIN, yet, but this guarantees we're safe if it
will at some time in the future.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
2013-04-17 03:03:59 -03:00
..
core.c Bluetooth: hidp: handle kernel_sendmsg() errors correctly 2013-04-17 03:03:59 -03:00
hidp.h Bluetooth: hidp: remove old session-management 2013-04-17 03:03:55 -03:00
Kconfig HID: Fix the generic Kconfig options 2012-06-25 17:25:00 +02:00
Makefile
sock.c Bluetooth: hidp: remove old session-management 2013-04-17 03:03:55 -03:00