[NETFILTER]: nf_conntrack_expect: support inactive expectations
authorPatrick McHardy <kaber@trash.net>
Wed, 26 Mar 2008 03:08:37 +0000 (20:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2008 03:08:37 +0000 (20:08 -0700)
commit359b9ab614aba71c2c3bc047efbd6d12dd4a2b9e
tree3399b1bf65d5d1faff0c4231f7a716c445c19d2a
parent4bb119eab7b724109d8eeb0f8d86ed1e4953d338
[NETFILTER]: nf_conntrack_expect: support inactive expectations

This is useful for the SIP helper and signalling expectations.
We don't want to create a full-blown expectation with a wildcard
as source based on a single UDP packet, but need to know the
final port anyways. With inactive expectations we can register
the expectation and reserve the tuple, but wait for confirmation
from the registrar before activating it.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_conntrack_expect.h
net/netfilter/nf_conntrack_expect.c