diff options
| author | 2007-10-10 17:30:18 -0700 | |
|---|---|---|
| committer | 2007-10-10 17:30:18 -0700 | |
| commit | 06393009000779b00a558fd2f280882cc7dc2008 (patch) | |
| tree | 0cd2e1f4cedd58c3c8056018bb6148dddd21d6ab /include/net/sctp/structs.h | |
| parent | [NET_SCHED]: Show timer resolution instead of clock resolution in /proc/net/psched (diff) | |
| download | linux-dev-06393009000779b00a558fd2f280882cc7dc2008.tar.xz linux-dev-06393009000779b00a558fd2f280882cc7dc2008.zip | |
[SCTP]: port randomization
Add port randomization rather than a simple fixed rover
for use with SCTP. This makes it act similar to TCP, UDP, DCCP
when allocating ports.
No longer need port_alloc_lock as well (suggestion by Brian Haley).
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp/structs.h')
| -rw-r--r-- | include/net/sctp/structs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 448f713a0205..ef892e00c833 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -197,8 +197,6 @@ extern struct sctp_globals { /* This is the sctp port control hash. */ int port_hashsize; - int port_rover; - spinlock_t port_alloc_lock; /* Protects port_rover. */ struct sctp_bind_hashbucket *port_hashtable; /* This is the global local address list. |
