An error occurred fetching the project authors.
- 03 Sep, 2003 1 commit
-
-
Sridhar Samudrala authored
sctp_process_init(). The argument passed as inbound streams to sctp_ssnmap_new() is incorrect. Also allocating a ssnmap everytime a INIT is received is vulnerable to DoS attacks. So delay the creation of an ssnmap if we are processing a temporary association.
-
- 29 Aug, 2003 1 commit
-
-
Sridhar Samudrala authored
sockaddr_in/sockaddr_in6 structures instead of an array of sockaddr_storage structures.
-
- 27 Aug, 2003 1 commit
-
-
Sridhar Samudrala authored
-
- 25 Aug, 2003 1 commit
-
-
Sridhar Samudrala authored
return a packed array of sockaddr_in/sockaddr_in6 structures instead of an array of sockaddr_storage structures.
-
- 04 Aug, 2003 1 commit
-
-
Sridhar Samudrala authored
-
- 16 Jul, 2003 1 commit
-
-
Sridhar Samudrala authored
skb->cb even on 64-bit systems. Removed the redundant 'asoc' field in struct sctp_ulpevent and instead use sinfo_assoc_id which is present within the other field 'sndrcvinfo'. This makes the size of struct sctp_ulpevent to be less than the size of skb->cb[](48 bytes) even on 64-bit systems.
-
- 15 Jul, 2003 1 commit
-
-
Jon Grimm authored
-
- 14 Jul, 2003 1 commit
-
-
Sridhar Samudrala authored
-
- 11 Jul, 2003 1 commit
-
-
Sridhar Samudrala authored
cleanup.
-
- 03 Jul, 2003 1 commit
-
-
Jon Grimm authored
When the skb was shared with Ethereal, Ethereal was sometimes the last user and the destructor would get called on another CPU, not knowing anything about our sock_lock. Move our rwnd updates and I/O redrive out of the skb destructor. Also, if unable to allocate an skb for our transmission packet, walk the packet's chunks and free the control chunks. Also change list_dels to list_del_init. Fix real later, but this prevent us from a doing damage if we list_del twice.
-
- 25 Jun, 2003 1 commit
-
-
Jon Grimm authored
hlist changes caused the peeloff testcase to fail. Investigation shows that the peeloff sockets is not bound into bind_bucket, so the bucket has gone away (original socket closed). Fixing this, shows a problem that inet->num wasn't set on peeled off sockets, so autobind kicks in creating a new bind_bucket. Ugh. One bug had been hiding the other one all this time. Fix 1) peeledoff/accepted sockets need to have their own socket woven into the bind_bucket->owner list. 2) Set inet->num, so autobind doesn't think it needs to kick in.
-
- 20 Jun, 2003 1 commit
-
-
Jon Grimm authored
1) Remove sctp_tsnmap_update_pending from the SACK path. The pending_data variable is only used by a socket option, so just calculate it when needed rather than the I/O path. 2) Instead of walking the tsnmap twice, change the interface to allow walking once. 3) Only report a fixed number of gabs and reserve this room in the association, saving us a kmalloc every sack generation. TBD: Still need to kick out of tanmap walking early if we get to max_tsn_seen.
-
- 19 Jun, 2003 1 commit
-
-
Jon Grimm authored
-
- 18 Jun, 2003 4 commits
-
-
Jon Grimm authored
-
Arnaldo Carvalho de Melo authored
With this we make it easier to write correct network families as less details need to be taken into account, as well in the current state we make the non-refcounting protocols (the ones still keeping deliver_to_old_ones in the tree) suck less. 8) Left a WARN_ON in sk_del_node_init for a while, so that we can catch cases where we're using __sock_put on a struct sock that has refcnt == 1, which is not the case for all the ones I tested.
-
Jon Grimm authored
Otherwise, we leak bind_buckets.
-
Jon Grimm authored
Submitted by pemmaiah@cc.usu.edu and rmlayer@us.ibm.com.
-
- 17 Jun, 2003 1 commit
-
-
Arnaldo Carvalho de Melo authored
Move it to the protocols that we're using this pointers for other purposes than a list pointer as the name implies, namely tcp and sctp, where they are used as a pointer to the bind_hash. Shrink, struct sock, shrink! :-)
-
- 16 Jun, 2003 1 commit
-
-
Arnaldo Carvalho de Melo authored
-
- 19 Jun, 2003 1 commit
-
-
Jon Grimm authored
sctp_id2assoc() was trying to do too many things. Break out, so sctp_assoc_bh_rcv() can just find out whether the assoc is valid.
-
- 04 Jun, 2003 1 commit
-
-
Arnaldo Carvalho de Melo authored
With this the data dependency is reduced to just making sure that the first member of both struct sock and struct tcp_tw_bucket are a struct sock_common. Also makes it easier to grep for struct sock and struct tcp_tw_bucket usage in the tree as all the members in those structs are prefixed, respectively, with sk_ and tw_, like struct inode (i_), struct block_device (bd_), etc. Checked namespace with make tags/ctags, just one colision with the macros for the struct sock members, with a wanrouter struct, fixed that s/sk_state/state_sk/g in the wanrouter struct. Checked as well if the names of the members in both structs collided with some macro, none found.
-
- 28 May, 2003 1 commit
-
-
Arnaldo Carvalho de Melo authored
This makes: 1. simpler primitive to access struct sock flags, shorter 2. we check if the flag is valid by using enum sock_flags 3. we can change the implementation to an open coded bit operations if it proves to be faster than the more general bit manipulation routines now used, i.e. we only have to change sock.h, not the whole net tree like now
-
- 14 May, 2003 2 commits
-
-
Sridhar Samudrala authored
macros for all the global fields in the structure. This is to avoid the confusion with the static variable sctp_protocol of type struct inet_protocol. Also fixes some calls that pass the global variable as an argument.
-
Sridhar Samudrala authored
-
- 13 May, 2003 1 commit
-
-
Sridhar Samudrala authored
-
- 12 May, 2003 1 commit
-
-
Steven Cole authored
Don't depend on undefined preprocessor symbols evaluating to zero.
-
- 08 May, 2003 1 commit
-
-
Jon Grimm authored
Off by one error causes us to think that there was an error one the first heartbeat timeout. Also, fix leak in bind_buckets.
-
- 06 May, 2003 1 commit
-
-
Jon Grimm authored
-
- 05 May, 2003 1 commit
-
-
Jon Grimm authored
Standford Checker reported direct touch of user space.
-
- 02 May, 2003 1 commit
-
-
Sridhar Samudrala authored
-
- 01 May, 2003 1 commit
-
-
Jon Grimm authored
sinfo_timetolive lets the application specify 'timed reliability' for a message. That is, the message really only has a use to the peer up to this timeout. Without PR-SCTP, we can throw away such timed out messages if we haven't yet assigned TSN/SSNs to them. If we have, there is nothing we can do until we support PR-SCTP extension.
-
- 30 Apr, 2003 1 commit
-
-
Sridhar Samudrala authored
-
- 29 Apr, 2003 1 commit
-
-
Jon Grimm authored
Fix memory leak.
-
- 28 Apr, 2003 2 commits
-
-
Steven Cole authored
-
Jon Grimm authored
If a message were fragmented, it was getting SEND_FAILed in all sorts of random order or not at all. Now each "message" tracks its own fragments and can SEND_FAIL itself and all its fragments.
-
- 25 Apr, 2003 2 commits
-
-
Sridhar Samudrala authored
-
Jon Grimm authored
Control chunks should be bundled (implementor's guide advises specifically of case were ERROR should be bundled with CE to avoid race condition. Patch introduces a outq_cork/outq_uncork to immediate transferral of control chunks and then release to the packet bundling code.
-
- 23 Apr, 2003 1 commit
-
-
Jon Grimm authored
We'll fragment (if fragmentation not disabled) to the min of maxseg or PMTU allowance.
-
- 22 Apr, 2003 1 commit
-
-
Jon Grimm authored
sctp_state(asoc, STATE) // Is asoc in this state? sctp_style(sk, STYLE) // Is sock this style? sctp_sstate(sk, SS_STATE) // Is sock in this state?
-
- 21 Apr, 2003 1 commit
-
-
Jon Grimm authored
-