author | Pablo Neira Ayuso <pablo@netfilter.org> | |
Thu, 9 Jul 2015 20:56:00 +0000 (22:56 +0200) | ||
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
Thu, 22 Oct 2015 21:39:19 +0000 (14:39 -0700) | ||
commit | 49330bb5dcad7dba808ccb484b0d3f1d3d19db5d | |
tree | b46926cc4da3e4cb0eb2587138aa17214849864d | tree | snapshot (tar.xz tar.gz zip) |
parent | 918678f0f81f22ee6184b8c3816b8f5f85aaa4da | commit | diff |
netfilter: ctnetlink: put back references to master ct and expect objects
commit 95dd8653de658143770cb0e55a58d2aab97c79d2 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: 0ef71ee1a5b9 ("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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit 95dd8653de658143770cb0e55a58d2aab97c79d2 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: 0ef71ee1a5b9 ("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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/nf_conntrack_netlink.c | diff | blob | history |