summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amadeusz.slawinski@tieto.com>2016-07-14 10:50:23 +0200
committerSasha Levin <alexander.levin@verizon.com>2016-08-19 23:07:58 -0400
commit98953c4c44a70f6cecc9cd2df86412bba34e37e6 (patch)
tree3381432d1087398e077202a99be023781e54f893 /crypto
parent5436aa6c963c736d49ff256ce51f632d2a65f6d0 (diff)
Bluetooth: Fix l2cap_sock_setsockopt() with optname BT_RCVMTU
[ Upstream commit 23bc6ab0a0912146fd674a0becc758c3162baabc ] When we retrieve imtu value from userspace we should use 16 bit pointer cast instead of 32 as it's defined that way in headers. Fixes setsockopt calls on big-endian platforms. Signed-off-by: Amadeusz Sławiński <amadeusz.slawinski@tieto.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Cc: stable@vger.kernel.org Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions