sctp: drop the old assoc hashtable of sctp
transport hashtable will replace the association hashtable, so association hashtable is not used in sctp any more, so drop the codes about that. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
39f66a7dce
commit
b5eff71283
@@ -120,8 +120,6 @@ extern struct sctp_globals {
|
||||
|
||||
/* This is the hash of all endpoints. */
|
||||
struct sctp_hashbucket *ep_hashtable;
|
||||
/* This is the hash of all associations. */
|
||||
struct sctp_hashbucket *assoc_hashtable;
|
||||
/* This is the sctp port control hash. */
|
||||
struct sctp_bind_hashbucket *port_hashtable;
|
||||
/* This is the hash of all transports. */
|
||||
@@ -129,7 +127,6 @@ extern struct sctp_globals {
|
||||
|
||||
/* Sizes of above hashtables. */
|
||||
int ep_hashsize;
|
||||
int assoc_hashsize;
|
||||
int port_hashsize;
|
||||
|
||||
/* Default initialization values to be applied to new associations. */
|
||||
@@ -146,8 +143,6 @@ extern struct sctp_globals {
|
||||
#define sctp_address_families (sctp_globals.address_families)
|
||||
#define sctp_ep_hashsize (sctp_globals.ep_hashsize)
|
||||
#define sctp_ep_hashtable (sctp_globals.ep_hashtable)
|
||||
#define sctp_assoc_hashsize (sctp_globals.assoc_hashsize)
|
||||
#define sctp_assoc_hashtable (sctp_globals.assoc_hashtable)
|
||||
#define sctp_port_hashsize (sctp_globals.port_hashsize)
|
||||
#define sctp_port_hashtable (sctp_globals.port_hashtable)
|
||||
#define sctp_transport_hashtable (sctp_globals.transport_hashtable)
|
||||
|
Reference in New Issue
Block a user