Re: [PATCH] [BACKPORT FOR 4.4] staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory.

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

 



On Tue, Jun 13, 2017 at 12:38:02PM +0100, Malcolm Priestley wrote:
> 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@xxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> 
> ---
> Commit baabd567f87be05330faa5140f72a91960e7405a upstream

Thanks for this.

> Commit 95d93e271d920dfda369d4740b1cc1061d41fe7f upstream is also required.

That one does not apply, can you provide a backport for it?

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]