netfilter: nf_conntrack: fix linker error with NF_CONNTRACK_TIMESTAMP=n
authorPatrick McHardy <kaber@trash.net>
Thu, 20 Jan 2011 19:46:52 +0000 (20:46 +0100)
committerPatrick McHardy <kaber@trash.net>
Thu, 20 Jan 2011 19:46:52 +0000 (20:46 +0100)
commit2f1e3176723d74ea2dd975e5be0ef6bb4fed2e2e
tree5f8b12f4e3d58d67bb9c1c8d00ef4d7922e3ed8e
parent06988b06935da7a210887e9d3f50f46f2faa4953
netfilter: nf_conntrack: fix linker error with NF_CONNTRACK_TIMESTAMP=n

net/built-in.o: In function `nf_conntrack_init_net':
net/netfilter/nf_conntrack_core.c:1521:
undefined reference to `nf_conntrack_tstamp_init'
net/netfilter/nf_conntrack_core.c:1531:
undefined reference to `nf_conntrack_tstamp_fini'

Add dummy inline functions for the =n case to fix this.

Reported-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/netfilter/nf_conntrack_timestamp.h