diff options
| author | Sergey Ryazanov <[email protected]> | 2021-06-08 07:02:41 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-08 14:33:43 -0700 |
| commit | 504672038b17b76466724dda017618b0c072a922 (patch) | |
| tree | e20a071bf2b4a54de8e28149c03e9439bab24301 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | c230035c2f2f6371739f29e56eeb2611172225c8 (diff) | |
net: wwan: core: purge rx queue on port close
Purge the rx queue as soon as a user closes the port, just after the
port stop callback invocation. This is to prevent feeding a user that
will open the port next time with outdated and possibly unrelated
data.
While at it also remove the odd skb_queue_purge() call in the port
device destroy callback. The queue will be purged just before the
callback is ivoncated in the wwan_remove_port() function.
Signed-off-by: Sergey Ryazanov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions