Skip to contentSkip to conversation

connrate missing exports fixed

PATCH Applied Jonas Berlin 2 participants 2 messages Mar 17, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 connrate missing exports fixed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Connrate is missing two exports, which makes the kernel compilation fail if either ip_conntrack or ipt_connrate is compiled as a module.

- --
- - xkr47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCOZIExyF48ZTvn+4RAjevAKC6SzOT/tsdGJzP1x2j359krZeQbgCfdhT9 //cw9X54GzQDQT70H+5LeBs=
=A3ZE
-----END PGP SIGNATURE-----

linux/net/ipv4/netfilter/ip_conntrack_rate.c +3 -0
Index: connrate/linux/net/ipv4/netfilter/ip_conntrack_rate.c
===================================================================
@@ -129,3 +129,6 @@
 	READ_UNLOCK(&rate_lock);
 	return rate;
 }
+
+EXPORT_SYMBOL(ip_conntrack_rate_count);
+EXPORT_SYMBOL(ip_conntrack_rate_get);
#1 lore raw
Quoted 5 lines · Jonas Berlin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Connrate is missing two exports, which makes the kernel compilation fail if either ip_conntrack or ipt_connrate is compiled as a module.

Applied to trunk and the 2.6.11 branch, thanks.

Regards
Patrick