diff options
| author | Ioana Ciornei <[email protected]> | 2020-07-21 12:19:14 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-07-21 16:53:34 +0200 |
| commit | b99a3f7093be7d7ff67491f75bf24fd60d8ba774 (patch) | |
| tree | fde9372099a088676bfe2f1c9860cc563176f546 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 006266854705b308531c3a27c9e65d0eeadb5742 (diff) | |
staging: dpaa2-ethsw: verify the nofifier block
Since now we have a notifier block for each DPSW instance probed, we
have to also check that the netdev is indeed connected to the notifier
received. Without this, we end up with the same switchdev callback being
executed multiple times (because it would be received by all notifier
blocks, not just the one intended to).
Also, move the function higher in the source file because it will be
used in later patches from multiple places.
Signed-off-by: Ioana Ciornei <[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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions