Skip to content
Commit 81d98fa4 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

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: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7dbfb4ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment