netfilter: nf_conntrack: remove duplicate code in ctnetlink
authorFlorian Westphal <fw@strlen.de>
Mon, 29 Jul 2013 13:41:54 +0000 (15:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 31 Jul 2013 16:51:23 +0000 (18:51 +0200)
commit02982c27ba1e1bd9f9d4747214e19ca83aa88d0e
treee8936711bc57b91ac2a6cc79dc343af7b6f6aa20
parent93742cf8af9dd3b053242b273040aa35fcbf93b3
netfilter: nf_conntrack: remove duplicate code in ctnetlink

ctnetlink contains copy-paste code from death_by_timeout.  In order to
avoid changing both places in upcoming event delivery patch,
export death_by_timeout functionality and use it in the ctnetlink code.

Based on earlier patch from Pablo Neira.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack.h
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_netlink.c