commit | c9ffc78745f89e300fe704348dd8e6800acf4d18 | [log] [tgz] |
---|---|---|
author | Harish Jenny K N <harish_kandiga@mentor.com> | Fri Sep 09 11:30:42 2016 +0200 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri Sep 09 14:49:20 2016 +0300 |
tree | e70891db457aa3c4d4ce882e1d612c20d89def65 | |
parent | 79775f441838403be856e06eaab893a3fe9dd7b2 [diff] |
usb: gadget: NCM: Protect dev->port_usb using dev->lock This commit incorporates findings from https://lkml.org/lkml/2016/4/25/594 The function has been modified to make sure we hold the dev lock when accessing the net device pointer. Acked-by: Jim Baxter <jim_baxter@mentor.com> Signed-off-by: Harish Jenny K N <harish_kandiga@mentor.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>