netfilter: ctnetlink: refactor ctnetlink_create_expect
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 7 Aug 2013 17:12:34 +0000 (19:12 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 13 Aug 2013 13:48:20 +0000 (15:48 +0200)
commit0ef71ee1a5b92c038abefd8991d5368e6031d7de
tree7940cfac3eff98440fa28be4ba17fcebf8d5ca20
parentc655bc6896b94ee0223393f26155c6daf1e2d148
netfilter: ctnetlink: refactor ctnetlink_create_expect

This patch refactors ctnetlink_create_expect by spliting it in two
chunks. As a result, we have a new function ctnetlink_alloc_expect
to allocate and to setup the expectation from ctnetlink.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_netlink.c