]> git.baikalelectronics.ru Git - 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)
commit9f72a1bb8a56b6585dcb7ab681d3a1e1824601e1
tree6d81457c99f041698851601e7d00ef8df9b65ccd
parent08ae63857590984487a7c2ae7a1f8be211e18ccc
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