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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux