Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-10-22 | tun: avoid extra timer schedule in tun_flow_cleanup() | Eric Dumazet | 1 | -3/+6 | |
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> | |||||
2017-10-22 | tun: do not block BH again in tun_flow_cleanup() | Eric Dumazet | 1 | -2/+2 | |
tun_flow_cleanup() being a timer callback, it is already running in BH context. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> |