diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2021-03-25 15:52:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-26 01:24:06 +0100 |
commit | 6c996e19949b34d7edebed4f6b0511145c036404 (patch) | |
tree | f98d98d0d5f0f1c60d9455bf17a97a4cf6321ceb /drivers | |
parent | Merge branch 'ipa-reg-versions' (diff) | |
download | linux-6c996e19949b34d7edebed4f6b0511145c036404.tar.xz linux-6c996e19949b34d7edebed4f6b0511145c036404.zip |
net: change netdev_unregister_timeout_secs min value to 1
netdev_unregister_timeout_secs=0 can lead to printing the
"waiting for dev to become free" message every jiffy.
This is too frequent and unnecessary.
Set the min value to 1 second.
Also fix the merge issue introduced by
"net: make unregister netdev warning timeout configurable":
it changed "refcnt != 1" to "refcnt".
Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Suggested-by: Eric Dumazet <edumazet@google.com>
Fixes: 5aa3afe107d9 ("net: make unregister netdev warning timeout configurable")
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions