]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ieee802154: atusb: do not use the stack for buffers to make them DMA able
authorStefan Schmidt <stefan@osg.samsung.com>
Thu, 15 Dec 2016 17:40:14 +0000 (18:40 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 12 Jan 2017 21:12:42 +0000 (22:12 +0100)
commit05a974efa4bdf6e2a150e3f27dc6fcf0a9ad5655
tree5938460f7b11492fd52e18956bdeddc9a232c693
parent8a430ed50bb1b19ca14a46661f3b1b35f2fb5c39
ieee802154: atusb: do not use the stack for buffers to make them DMA able

From 4.9 we should really avoid using the stack here as this will not be DMA
able on various platforms. This changes the buffers already being present in
time of 4.9 being released. This should go into stable as well.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/atusb.c