commit | 81d98fa4df3d1683b3ef21e8a7a0ccac7874f0de | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Oct 20 11:29:56 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 22 03:13:19 2017 +0100 |
tree | 663e667174987317f515eb313db6082c39c44401 | |
parent | 7dbfb4ef77db5666f0f3a425e7db93ca30ff4285 [diff] |
tun: avoid extra timer schedule in tun_flow_cleanup() If tun_flow_cleanup() deleted all flows, no need to arm the timer again. It will be armed next time tun_flow_update() is called. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>