diff options
author | Harish Jenny K N <harish_kandiga@mentor.com> | 2016-09-09 11:30:42 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-09-09 14:49:20 +0300 |
commit | c9ffc78745f89e300fe704348dd8e6800acf4d18 (patch) | |
tree | e70891db457aa3c4d4ce882e1d612c20d89def65 /arch/m68k | |
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>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions