From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fllnx210.ext.ti.com ([198.47.19.17]:30238 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751548AbeCVVBh (ORCPT ); Thu, 22 Mar 2018 17:01:37 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w2ML1aNl006801 for ; Thu, 22 Mar 2018 16:01:36 -0500 Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2ML1awu022269 for ; Thu, 22 Mar 2018 16:01:36 -0500 From: "Chang, Rex" To: "netdev@vger.kernel.org" CC: "Karicheri, Muralidharan" , "Kwok, WingMan" Subject: [PATCH] Net: ethernet: ti: netcp: Fix inbound ping crash if MTU size is greater than 1500 Date: Thu, 22 Mar 2018 21:01:36 +0000 Message-ID: Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org List-ID: 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]=20 Sent: Wednesday, January 17, 2018 4:20 PM To: Chang, Rex Cc: Kwok, WingMan; Karicheri, Muralidharan; netdev@vger.kernel.org; linux-k= ernel@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 Date: Tue, 16 Jan 2018 15:16:01 -0500 > In the receive queue for 4096 bytes fragments, the page address set in=20 > the SW data0 field of the descriptor is not the one we got when doing=20 > the reassembly in receive. The page structure was retrieved from the=20 > wrong descriptor into SW data0 which is then causing a page fault when=20 > UDP checksum is accessing data above 1500. >=20 > Signed-off-by: Rex Chang Applied, thank you.