git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi
[safe/jmp/linux-2.6]
/
include
/
net
/
inet_hashtables.h
diff --git
a/include/net/inet_hashtables.h
b/include/net/inet_hashtables.h
index
d0a0431
..
a44e224
100644
(file)
--- a/
include/net/inet_hashtables.h
+++ b/
include/net/inet_hashtables.h
@@
-82,6
+82,7
@@
struct inet_bind_bucket {
#endif
unsigned short port;
signed short fastreuse;
#endif
unsigned short port;
signed short fastreuse;
+ int num_owners;
struct hlist_node node;
struct hlist_head 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;
struct inet_bind_hashbucket *bhash;
unsigned int bhash_size;
- /*
Note : 4 bytes padding on 64 bit arches
*/
+ /*
4 bytes hole on 64 bit
*/
struct kmem_cache *bind_bucket_cachep;
struct kmem_cache *bind_bucket_cachep;
@@
-150,6
+151,7
@@
struct inet_hashinfo {
struct inet_listen_hashbucket listening_hash[INET_LHTABLE_SIZE]
____cacheline_aligned_in_smp;
struct inet_listen_hashbucket listening_hash[INET_LHTABLE_SIZE]
____cacheline_aligned_in_smp;
+ atomic_t bsockets;
};
static inline struct inet_ehash_bucket *inet_ehash_bucket(
};
static inline struct inet_ehash_bucket *inet_ehash_bucket(