Re: [PATCH] rtl28xxu: fix control message flaws

2015-11-06 Thread Benjamin Larsson
On 10/10/2015 06:45 PM, Antti Palosaari wrote: Add lock to prevent concurrent access for control message as control message function uses shared buffer. Without the lock there may be remote control polling which messes the buffer causing IO errors. Increase buffer size and add check for maximum

Re: [PATCH] rtl28xxu: fix control message flaws

2015-10-15 Thread Antti Palosaari
On 10/15/2015 01:11 AM, Daniel Glöckner wrote: On Sat, Oct 10, 2015 at 07:45:30PM +0300, Antti Palosaari wrote: Add lock to prevent concurrent access for control message as control message function uses shared buffer. Without the lock there may be remote control polling which messes the buffer

Re: [PATCH] rtl28xxu: fix control message flaws

2015-10-14 Thread Daniel Glöckner
On Sat, Oct 10, 2015 at 07:45:30PM +0300, Antti Palosaari wrote: > Add lock to prevent concurrent access for control message as control > message function uses shared buffer. Without the lock there may be > remote control polling which messes the buffer causing IO errors. This patch fixes the

[PATCH] rtl28xxu: fix control message flaws

2015-10-10 Thread Antti Palosaari
Add lock to prevent concurrent access for control message as control message function uses shared buffer. Without the lock there may be remote control polling which messes the buffer causing IO errors. Increase buffer size and add check for maximum supported message length. Link: