diff options
author | David Herrmann <[email protected]> | 2013-04-06 20:28:48 +0200 |
---|---|---|
committer | Gustavo Padovan <[email protected]> | 2013-04-17 03:03:59 -0300 |
commit | 2df012001d36e56cd92dab0255cf4bce3f5b16bc (patch) | |
tree | 2257b013b811f00187fbbeb9f8ea223b6a9f2ac4 /tools/perf/scripts/python/syscall-counts.py | |
parent | 5205185d461d5902325e457ca80bd421127b7308 (diff) |
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 <[email protected]>
Acked-by: Marcel Holtmann <[email protected]>
Signed-off-by: Gustavo Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions