[NETFILTER]: Don't increase master refcount on expectations
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 6 Sep 2005 22:10:23 +0000 (15:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Sep 2005 22:10:23 +0000 (15:10 -0700)
commit91c46e2e60da0b43a1e8740729737318862f64eb
tree9391e8fd9376919c0adcaf319581f642dac211f5
parente7dfb09a3624a32df2dd00683875d0e56406a603
[NETFILTER]: Don't increase master refcount on expectations

As it's been discussed [1][2]. We shouldn't increase the master conntrack
refcount for non-fulfilled conntracks. During the conntrack destruction,
the expectations are always killed before the conntrack itself, this
guarantees that there won't be any orphan expectation.

[1]https://lists.netfilter.org/pipermail/netfilter-devel/2005-August/020783.html
[2]https://lists.netfilter.org/pipermail/netfilter-devel/2005-August/020904.html

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_core.c