From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753418AbcIIJbF (ORCPT ); Fri, 9 Sep 2016 05:31:05 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:55680 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752325AbcIIJbA (ORCPT ); Fri, 9 Sep 2016 05:31:00 -0400 From: Harish Jenny K N To: Felipe Balbi CC: , Greg Kroah-Hartman , , Jim Baxter , Subject: [PATCH v1 0/2] usb: gadget: NCM: NULL pointer dereference in eth_start_xmit Date: Fri, 9 Sep 2016 11:30:40 +0200 Message-ID: <1473413442-2377-1-git-send-email-harish_kandiga@mentor.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset incorporates findings from https://lkml.org/lkml/2016/4/25/690 When submitting patch https://lkml.org/lkml/2016/4/25/594, few observations from Alan from https://lkml.org/lkml/2016/4/25/690 needed to be incorporated. We find that the changes are already taken to linux-next repo by another commit 88c09eacf560c3303d0ee8cf91b8b7ff7f000350. Hence this patchset only adds the remaining findings. Harish Jenny K N (2): usb: gadget: u_ether: fix another dereference after null check usb: gadget: NCM: Protect dev->port_usb using dev->lock drivers/usb/gadget/function/u_ether.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) -- 1.7.9.5