diff options
| author | Bjørn Mork <bjorn@mork.no> | 2016-03-07 21:15:36 +0100 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-16 17:40:06 -0700 |
| commit | f1734b19c70f9b36f7e783c544b99b7c26e5a3e1 (patch) | |
| tree | 6ed3b5754bd627722e38227edc47526537d84b2a /tools/perf/scripts/python | |
| parent | 8a8abceb69e80c464db9572131a6156c650e31af (diff) | |
cdc_ncm: do not call usbnet_link_change from cdc_ncm_bind
usbnet_link_change will call schedule_work and should be
avoided if bind is failing. Otherwise we will end up with
scheduled work referring to a netdev which has gone away.
Instead of making the call conditional, we can just defer
it to usbnet_probe, using the driver_info flag made for
this purpose.
Change-Id: I0052ab287e40bac491a55f324eca4917cf9980ae
Fixes: 8a34b0ae8778 ("usbnet: cdc_ncm: apply usbnet_link_change")
Reported-by: Andrey Konovalov <andreyknvl@gmail.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-repo: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Git-commit: 4d06dd537f95683aba3651098ae288b7cbff8274
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
