diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2021-03-25 17:52:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-26 03:24:06 +0300 |
commit | 6c996e19949b34d7edebed4f6b0511145c036404 (patch) | |
tree | f98d98d0d5f0f1c60d9455bf17a97a4cf6321ceb /drivers | |
parent | b01483a81a2c18b109d79598bdf781954b2f24ce (diff) | |
download | linux-6c996e19949b34d7edebed4f6b0511145c036404.tar.xz |
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 'drivers')
0 files changed, 0 insertions, 0 deletions