]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
tun: do not arm flow_gc_timer in tun_flow_init()
authorEric Dumazet <edumazet@google.com>
Fri, 20 Oct 2017 18:29:57 +0000 (11:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 02:13:19 +0000 (03:13 +0100)
commitee74d9967b829232723939cb7c9b100b29f6ec98
tree6d81457c99f041698851601e7d00ef8df9b65ccd
parent81d98fa4df3d1683b3ef21e8a7a0ccac7874f0de
tun: do not arm flow_gc_timer in tun_flow_init()

Timer is properly armed on demand from tun_flow_update(),
so there is no need to arm it at tun init.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c