]> 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)
commit9152baadc79f45ccbd0ba6411b7cb0c757464d98
tree6d81457c99f041698851601e7d00ef8df9b65ccd
parent288db06abb7ad3d1eefbf873adb022dc891e8786
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