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

[ Upstream commit 95dd8653de ]

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: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Pablo Neira Ayuso 2015-07-09 22:56:00 +02:00 • committed by Sasha Levin
commit ba1fa01d6d