]> err.no Git - linux-2.6/blobdiff - include/net/inet_hashtables.h
[NET]: Move sock_valbool_flag to socket.c
[linux-2.6] / include / net / inet_hashtables.h
index 8461cda37490f2ba6a207f6e4583d3f998dd661f..37f6cb11212723f7f2094a16b6cec92bbe9ef670 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/spinlock.h>
 #include <linux/types.h>
 #include <linux/wait.h>
+#include <linux/vmalloc.h>
 
 #include <net/inet_connection_sock.h>
 #include <net/inet_sock.h>
@@ -185,9 +186,8 @@ static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo)
                if (size > PAGE_SIZE)
                        vfree(hashinfo->ehash_locks);
                else
-#else
-               kfree(hashinfo->ehash_locks);
 #endif
+               kfree(hashinfo->ehash_locks);
                hashinfo->ehash_locks = NULL;
        }
 }