]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_CT: fix missing put timeout object in error path
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 3 Apr 2012 12:50:07 +0000 (14:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Apr 2012 23:18:21 +0000 (19:18 -0400)
commitb1b9c68f60ca2f98643d69b1026cbac5c42fe96c
tree996690f4f36657854326b0cf2ae0ed27fdabc38c
parentecf9599261e3e1a2fcc1cfaa9bb106e410dbb6d0
netfilter: xt_CT: fix missing put timeout object in error path

The error path misses putting the timeout object. This patch adds
new function xt_ct_tg_timeout_put() to put the timeout object.

Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_CT.c