diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2017-05-11 18:57:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-15 11:48:44 +0200 |
commit | baabd567f87be05330faa5140f72a91960e7405a (patch) | |
tree | b2a64c4f38832cf51ca6477f8a2dbbe461f8b728 /drivers/staging/rtl8192e/rtl8192e/r8192E_phyreg.h | |
parent | staging: vc04_services: Fix bulk cache maintenance (diff) | |
download | linux-dev-baabd567f87be05330faa5140f72a91960e7405a.tar.xz linux-dev-baabd567f87be05330faa5140f72a91960e7405a.zip |
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>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl8192e/r8192E_phyreg.h')
0 files changed, 0 insertions, 0 deletions