diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-10-26 12:25:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-26 15:07:35 +0100 |
commit | 425d19cedef8f5ad5cff07ac545d51feec29733c (patch) | |
tree | 7eea5ffa9f1ddbd61af1a9554d15a73c0cde08bf /samples/bpf | |
parent | d7d0d423dbaa73fd0506e25971dfdab6bf185d00 (diff) |
net: dsa: stop calling dev_hold in dsa_slave_fdb_event
Now that we guarantee that SWITCHDEV_FDB_{ADD,DEL}_TO_DEVICE events have
finished executing by the time we leave our bridge upper interface,
we've established a stronger boundary condition for how long the
dsa_slave_switchdev_event_work() might run.
As such, it is no longer possible for DSA slave interfaces to become
unregistered, since they are still bridge ports.
So delete the unnecessary dev_hold() and dev_put().
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf')
0 files changed, 0 insertions, 0 deletions