netfilter: ctnetlink: remove unnecessary inlining
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 12 Apr 2016 21:32:34 +0000 (23:32 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 13 Apr 2016 22:39:34 +0000 (00:39 +0200)
commit4054ff45454a9a4652e29ac750a6600f6fdcc216
treea14d12e22d4723d76e1b6c84fe46c01875a1f981
parentd7591f0c41ce3e67600a982bab6989ef0f07b3ce
netfilter: ctnetlink: remove unnecessary inlining

Many of these functions are called from control plane path.  Move
ctnetlink_nlmsg_size() under CONFIG_NF_CONNTRACK_EVENTS to avoid a
compilation warning when CONFIG_NF_CONNTRACK_EVENTS=n.

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