]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: ctnetlink: put back references to master ct and expect objects
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Jul 2015 20:56:00 +0000 (22:56 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 10 Jul 2015 12:18:03 +0000 (14:18 +0200)
commit95dd8653de658143770cb0e55a58d2aab97c79d2
treebd35f32ca3caa825a0623bb6516d0e2e333b5223
parenta7d35f9d73e9ffa74a02304b817e579eec632f67
netfilter: ctnetlink: put back references to master ct and expect objects

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

Fixes: 0ef71ee1a5b9 ("netfilter: ctnetlink: refactor ctnetlink_create_expect")
Reported-by: Tim Wiess <Tim.Wiess@watchguard.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_netlink.c