]> err.no Git - linux-2.6/blobdiff - net/xfrm/xfrm_input.c
[PATCH] sunrpc: cache_register can use wrong module reference
[linux-2.6] / net / xfrm / xfrm_input.c
index c58a6f05a0b66366411b7725faa6422b9c645611..2407a7072327f9156ea6e5771762bb6adc0f072b 100644 (file)
@@ -12,7 +12,7 @@
 #include <net/ip.h>
 #include <net/xfrm.h>
 
-static kmem_cache_t *secpath_cachep;
+static kmem_cache_t *secpath_cachep __read_mostly;
 
 void __secpath_destroy(struct sec_path *sp)
 {