]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - include/net/inet_hashtables.h
inet: Allowing more than 64k connections and heavily optimize bind(0) time.
[~shefty/rdma-dev.git] / include / net / inet_hashtables.h
index f44bb5c77a70cdb4d5cfdea2688a1a8ec3492b20..cdc08c19063856ff9cfc702f39c68c74d94a0836 100644 (file)
@@ -82,6 +82,7 @@ struct inet_bind_bucket {
 #endif
        unsigned short          port;
        signed short            fastreuse;
+       int                     num_owners;
        struct hlist_node       node;
        struct hlist_head       owners;
 };
@@ -133,7 +134,7 @@ struct inet_hashinfo {
        struct inet_bind_hashbucket     *bhash;
 
        unsigned int                    bhash_size;
-       /* Note : 4 bytes padding on 64 bit arches */
+       int                             bsockets;
 
        struct kmem_cache               *bind_bucket_cachep;