[PATCH v1 0/2] usb: gadget: NCM: NULL pointer dereference in eth_start_xmit

From: Harish Jenny K N
Date: Fri Sep 09 2016 - 05:31:08 EST

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

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(-)