diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2017-05-11 18:57:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-17 06:39:35 +0200 |
commit | 691fe5610d580285af0d02bd5f62662bc50ed707 (patch) | |
tree | 8dd1c9fe03a163c126081390fd3b114bbae474ba /drivers/fpga/fpga-mgr.c | |
parent | 3fc4d70453ee4af1ac539e841e30d973a71edffb (diff) |
staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory.
commit baabd567f87be05330faa5140f72a91960e7405a upstream.
The driver attempts to alter memory that is mapped to PCI device.
This is because tx_fwinfo_8190pci points to skb->data
Move the pci_map_single to when completed buffer is ready to be mapped with
psdec is empty to drop on mapping error.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions