Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 007e6671 authored by Oliver Neukum's avatar Oliver Neukum Committed by Apavayan Sinha
Browse files

usbnet: cleanup after bind() in probe()

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.

Change-Id: I43b1673bc31b3af05789e461b39c55062735cc56
Signed-off-by: default avatarOliver Neukum <ONeukum@suse.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 005ff1ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment