[PATCH] Net: ethernet: ti: netcp: Fix inbound ping crash if MTU size is greater than 1500

DORMANTno replies

From: Chang, Rex <hidden>
Date: 2018-03-22 21:01:37

I am requesting to merge this patch to the stable releases:

commit 5a717843177c96ca3fe4565187de395afdb28092

Kernel crashes if MTU is greater than 1500. This code was working in Kernel v 3.14, but got broken when migrating from Kernel v3.14 to v 4.1.

Stable versions to apply: v4.1 and v4.4.

Thanks!

Rex

-----Original Message-----
From: David Miller [mailto:davem@davemloft.net] 
Sent: Wednesday, January 17, 2018 4:20 PM
To: Chang, Rex
Cc: Kwok, WingMan; Karicheri, Muralidharan; netdev@vger.kernel.org; linux-kernel@vger.kernel.org
Subject: [EXTERNAL] Re: [PATCH] Net: ethernet: ti: netcp: Fix inbound ping crash if MTU size is greater than 1500

From: Rex Chang <redacted>
Date: Tue, 16 Jan 2018 15:16:01 -0500
In the receive queue for 4096 bytes fragments, the page address set in 
the SW data0 field of the descriptor is not the one we got when doing 
the reassembly in receive. The page structure was retrieved from the 
wrong descriptor into SW data0 which is then causing a page fault when 
UDP checksum is accessing data above 1500.

Signed-off-by: Rex Chang <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help