]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/net/inet_hashtables.h
Pull align-sig-frame into release branch
[karo-tx-linux.git] / include / net / inet_hashtables.h
index 35f49e65e295c9cd89a04d010dbad7700f4a319d..07840baa934125280a97a3261fcb25da1840588e 100644 (file)
@@ -40,7 +40,7 @@
 struct inet_ehash_bucket {
        rwlock_t          lock;
        struct hlist_head chain;
-} __attribute__((__aligned__(8)));
+};
 
 /* There are a few simple rules, which allow for local port reuse by
  * an application.  In essence:
@@ -125,9 +125,7 @@ struct inet_hashinfo {
        rwlock_t                        lhash_lock ____cacheline_aligned;
        atomic_t                        lhash_users;
        wait_queue_head_t               lhash_wait;
-       spinlock_t                      portalloc_lock;
        kmem_cache_t                    *bind_bucket_cachep;
-       int                             port_rover;
 };
 
 static inline unsigned int inet_ehashfn(const __u32 laddr, const __u16 lport,