diff options
author | 2017-10-20 11:29:56 -0700 | |
---|---|---|
committer | 2017-10-22 03:13:19 +0100 | |
commit | 81d98fa4df3d1683b3ef21e8a7a0ccac7874f0de (patch) | |
tree | 663e667174987317f515eb313db6082c39c44401 /include/linux/mod_devicetable.h | |
parent | tun: do not block BH again in tun_flow_cleanup() (diff) | |
download | wireguard-linux-81d98fa4df3d1683b3ef21e8a7a0ccac7874f0de.tar.xz wireguard-linux-81d98fa4df3d1683b3ef21e8a7a0ccac7874f0de.zip |
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>
Diffstat (limited to 'include/linux/mod_devicetable.h')
0 files changed, 0 insertions, 0 deletions