[PATCH bluetooth-next 0/3] ieee802154: atusb: fixes for buffers to be DMA able

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

Here is a set of patches coming up from a report of Dan Carpenter about some
buffers in atusb are on the stack and that produces a problem with DMA from 4.9
onwards.

The first patch covers existing code present in released 4.9. I added a stable
tag for it to make sure it gets into the stable updates. Marcel, I also checked
that this patch applies cleanly against bluetooth.git as well as bluetooth-next.git.

The second patch just handles a corner case a bit more cleanly and the third ones
fixes the buffer on a stack problem for code introduced in the 4.10 merge window
and should got.

Thanks to Dan for reporting this.

Stefan Schmidt (3):
  ieee802154: atusb: do not use the stack for buffers to make them DMA
    able
  ieee802154: atusb: make sure we set a randaom extended address if
    fetching fails
  ieee802154: atusb: do not use the stack for address fetching to make
    it DMA able

 drivers/net/ieee802154/atusb.c | 46 +++++++++++++++++++++++++++++++++++-------
 1 file changed, 39 insertions(+), 7 deletions(-)

regards
Stefan Schmidt

-- 
2.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux