kernel-fxtec-pro1x/include/net/sctp
Eric W. Biederman f1f4376307 sctp: Make the port hash table use struct net in it's key.
- Add struct net into the port hash table hash calculation
- Add struct net inot the struct sctp_bind_bucket so there
  is a memory of which network namespace a port is allocated in.
  No need for a ref count because sctp_bind_bucket only exists
  when there are sockets in the hash table and sockets can not
  change their network namspace, and sockets already ref count
  their network namespace.
- Add struct net into the key comparison when we are testing
  to see if we have found the port hash table entry we are
  looking for.

With these changes lookups in the port hash table becomes
safe to use in multiple network namespaces.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-14 22:44:12 -07:00
..
auth.h
checksum.h
command.h sctp: deal with multiple COOKIE_ECHO chunks 2011-09-16 17:17:22 -04:00
constants.h sctp: Implement quick failover draft from tsvwg 2012-07-22 12:13:46 -07:00
sctp.h sctp: Make the port hash table use struct net in it's key. 2012-08-14 22:44:12 -07:00
sm.h sctp: implement event notification SCTP_SENDER_DRY_EVENT 2011-04-21 10:35:44 -07:00
structs.h sctp: Make the port hash table use struct net in it's key. 2012-08-14 22:44:12 -07:00
tsnmap.h sctp: be more restrictive in transport selection on bundled sacks 2012-06-30 22:44:35 -07:00
ulpevent.h sctp: ABORT if receive, reassmbly, or reodering queue is not empty while closing socket 2011-07-08 09:53:08 -07:00
ulpqueue.h
user.h sctp: Implement quick failover draft from tsvwg 2012-07-22 12:13:46 -07:00