Skip to content
Snippets Groups Projects
Commit be8ebbea authored by Oliver Neukum's avatar Oliver Neukum Committed by Yueyao (Nathan) Zhu
Browse files

UPSTREAM: usbnet: cleanup after bind() in probe()

Bug: 28744625

In case bind() works, but a later error forces bailing
in probe() in error cases work and a timer may be scheduled.
They must be killed. This fixes an error case related to
the double free reported in
http://www.spinics.net/lists/netdev/msg367669.html


and needs to go on top of Linus' fix to cdc-ncm.

(cherry picked from commit 1666984c8625b3db19a9abc298931d35ab7bc64b)

Change-Id: I7e13c0a48b4b85ff5cbea37252e52750d9471ecd
Signed-off-by: default avatarOliver Neukum <ONeukum@suse.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarYueyao (Nathan) Zhu <yueyao@google.com>
parent 3f2ff6a2
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment