commit | baabd567f87be05330faa5140f72a91960e7405a | [log] [tgz] |
---|---|---|
author | Malcolm Priestley <tvboxspy@gmail.com> | Thu May 11 18:57:43 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 15 11:48:44 2017 +0200 |
tree | b2a64c4f38832cf51ca6477f8a2dbbe461f8b728 | |
parent | ff92b9e3c9f85fa442c430d70bf075499e1193b7 [diff] |
staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory. 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> Cc: <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>