From: Pablo Neira Ayuso Date: Fri, 22 Jun 2012 23:43:51 +0000 (+0200) Subject: netfilter: ctnetlink: fix compilation with NF_CONNTRACK_EVENTS=n X-Git-Tag: v3.6-rc1~125^2~457^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e36c4b5b673edc6081599b8bd461e062e4910f4;p=pandora-kernel.git netfilter: ctnetlink: fix compilation with NF_CONNTRACK_EVENTS=n This patch fixes compilation with NF_CONNTRACK_EVENTS=n and NETFILTER_NETLINK_QUEUE_CT=y. I'm leaving all those static inline functions that calculate the size of the event message out of the ifdef area of NF_CONNTRACK_EVENTS since they will not be included by gcc in case they are unused. Reported-by: Randy Dunlap Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed