netfilter: ctnetlink: put back references to master ct and expect objects

commit 95dd8653de upstream.

We have to put back the references to the master conntrack and the expectation
that we just created, otherwise we'll leak them.

Fixes: 0ef71ee1a5 ("netfilter: ctnetlink: refactor ctnetlink_create_expect")
Reported-by: Tim Wiess <Tim.Wiess@watchguard.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Pablo Neira Ayuso 2015-07-09 22:56:00 +02:00 • committed by Luis Henriques
commit c2d28e5fe6