summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLiangliang Lu <luliang@codeaurora.org>2017-10-18 16:35:18 +0800
committerLiangliang Lu <luliang@codeaurora.org>2017-10-24 13:19:10 +0800
commitb150ef84c4b218b89180e77ced7f9e2409c996db (patch)
treea9fb23c7044d5736a711f3d491f9842c317c388e /net/unix/af_unix.c
parent82e598b10ad797952cd6cfebc73b272b4c0caee4 (diff)
usb: gadget: Add check gadget function bind or not
For NCM gadget function, net device structure opts->net will be freed when NCM unbind, but user space related device node doesn't know it, will access net structre without checking it exist or not, finally lead to crash. Fix this by adding check gadget function bind or not. Change-Id: I6af9e3868f71e7fa923600721e1f716508de9b55 Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions