summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2014-02-20 18:55:55 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-02-20 15:53:20 -0500
commit1eb43018673e735ea9cd756970f4e71ca01a5f21 (patch)
treef07937918d7aada114b113c422dc7722420995c7 /net
parent21f8aaee0c62708654988ce092838aa7df4d25d8 (diff)
downloadlinux-1eb43018673e735ea9cd756970f4e71ca01a5f21.tar.bz2
brcmfmac: fix txglomming scatter-gather packet transfers
The driver concatenates multiple packets in one MMC transfer. For scatter-gather to work the total length need to be multiple of 512 bytes. A pre-allocated buffer was used to add padding to accomplish that. However, the length was not properly set and it was freed after the first transfer causing a crash. Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com> Reviewed-by: Hante Meuleman <meuleman@broadcom.com> Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions