> From: linux-wireless-owner@xxxxxxxxxxxxxxx [mailto:linux-wireless- > owner@xxxxxxxxxxxxxxx] On Behalf Of Kalle Valo > Sent: Thursday, July 21, 2016 8:19 PM > To: Amitkumar Karwar > Cc: linux-wireless@xxxxxxxxxxxxxxx; Cathy Luo; Nishant Sarmukadam > Subject: Re: [PATCH] mwifiex: fix large amsdu packets causing firmware > hang > > Amitkumar Karwar <akarwar@xxxxxxxxxxx> writes: > > > From: Cathy Luo <cluo@xxxxxxxxxxx> > > > > Sometimes host prepares and downloads a large amsdu packet to firmware > > which leads to a memory corruption in firmware. > > The reason is __dev_alloc_skb() may allocate larger buffer than > > required size. This patch solves the problem by checking "adapter- > >tx_buf_size" > > instead of relying on skb_tailroom(). > > > > Signed-off-by: Cathy Luo <cluo@xxxxxxxxxxx> > > Signed-off-by: Amitkumar Karwar <akarwar@xxxxxxxxxxx> > > Should this go to 4.8 as an important fix? > Yes. Please. Regards, Amitkumar. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html