summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2020-07-21 12:19:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-21 16:53:34 +0200
commitb99a3f7093be7d7ff67491f75bf24fd60d8ba774 (patch)
treefde9372099a088676bfe2f1c9860cc563176f546 /net/lapb/lapb_timer.c
parent006266854705b308531c3a27c9e65d0eeadb5742 (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 <ioana.ciornei@nxp.com> Link: https://lore.kernel.org/r/20200721091919.20394-2-ioana.ciornei@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions