diff options
| author | 2013-09-16 13:05:15 +0300 | |
|---|---|---|
| committer | 2013-09-18 16:44:32 -0500 | |
| commit | c4ea249f5f164957ec8402ba9f3b827d740b299c (patch) | |
| tree | 0d9779bbe92424d72d115c81893c780a69d34e4c /fs/jbd2/commit.c | |
| parent | Bluetooth: Fix L2CAP error return used for failed channel lookups (diff) | |
| download | linux-dev-c4ea249f5f164957ec8402ba9f3b827d740b299c.tar.xz linux-dev-c4ea249f5f164957ec8402ba9f3b827d740b299c.zip | |
Bluetooth: Fix L2CAP Disconnect response for unknown CID
If we receive an L2CAP Disconnect Request for an unknown CID we should
not just silently drop it but reply with a proper Command Reject
response. This patch fixes this by ensuring that the disconnect handler
returns a proper error instead of 0 and will cause the function caller
to send the right response.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
