Many new versions of Linux 2.6 used to change the Netfilter API. This page provides documentation on how to port connection tracking modules to these new versions.
ip_conntrack_expect_alloc(): parameters changed
ip_conntrack_expect_free(): replaced with ip_conntrack_expect_put() (implementing a usage counter); must call ip_conntrack_expect_put() after ip_conntrack_expect_related()
Note that all execution branches result in ip_conntrack_expect_put() being called at the end.