netfilter: h323: Use mod_timer instead of set_expect_timeout
authorGao Feng <fgao@ikuai8.com>
Fri, 22 Jul 2016 04:59:15 +0000 (12:59 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 23 Jul 2016 09:44:05 +0000 (11:44 +0200)
commit96d1327ac2e3dc3ac4204fe3656dad0043fc0efd
tree3c2da83e41c83d4f138939d703e35aaacceda66c
parent857ed310c013fe0d0059f955048dab589fa7a57a
netfilter: h323: Use mod_timer instead of set_expect_timeout

Simplify the code without any side effect. The set_expect_timeout is
used to modify the timer expired time.  It tries to delete timer, and
add it again.  So we could use mod_timer directly.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_h323_main.c