diff options
| author | Maciej Żenczykowski <[email protected]> | 2021-07-01 04:48:31 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-07-21 10:04:19 +0200 |
| commit | ec017d6b60f8aa400987fe95cd839e9ba5dda41d (patch) | |
| tree | 255b7db453d000e084ceddcf1a0e5220e5714225 /tools/perf/scripts/python | |
| parent | cf4e2e880bde13af103d229be261e8f80c37921f (diff) | |
usb: gadget: f_ncm: remove check for NULL skb_tx_data in timer function
This condition is already checked for in ncm_wrap_ntb(),
except that that check is done with eth_dev->lock held
(it is grabbed by eth_start_xmit).
It's best to not be reaching into ncm struct without locks held.
Cc: Brooke Basile <[email protected]>
Cc: "Bryan O'Donoghue" <[email protected]>
Cc: Felipe Balbi <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Lorenzo Colitti <[email protected]>
Signed-off-by: Maciej Żenczykowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions