Re: [PATCH 23/23 V2 for 3.19] rtlwifi: Fix error when accessing unmapped memory in skb
From: Kalle Valo <hidden>
Date: 2014-12-28 05:50:37
Also in:
linux-wireless
From: Kalle Valo <hidden>
Date: 2014-12-28 05:50:37
Also in:
linux-wireless
Larry Finger [off-list ref] writes:
These drivers use 9100-byte receive buffers, thus allocating an skb requires
an O(3) memory allocation. Under heavy memory loads and fragmentation, such
a request can fail. Previous versions of the driver have dropped the packet
and reused the old buffer; however, the new version introduced a bug in that
it released the old buffer before trying to allocate a new one. The previous
method is implemented here.
Signed-off-by: Larry Finger <redacted>
Cc: Stable <redacted> [v3.18]
Reported-by: Eric Biggers <redacted>
Cc: Eric Biggers <redacted>
---
V2 - Fixes an error in the logic of V1. Realtek is working on a change to
the RX buffer allocation, but that is likely to be too invasive for
a fix to -rc or stable. In the meantime, this will help.23/23? Where are patches 1-22? I don't see them in patchwork: https://patchwork.kernel.org/project/linux-wireless/list/ -- Kalle Valo