diff options
| author | Jon Grimm <jgrimm@jgrimm.austin.ibm.com> | 2002-09-25 03:29:50 -0500 |
|---|---|---|
| committer | Jon Grimm <jgrimm@jgrimm.austin.ibm.com> | 2002-09-25 03:29:50 -0500 |
| commit | 372f525b495c56405463397fa09ee3019afc9543 (patch) | |
| tree | 2da99359b04050f8cfa2511441f819ae5f93504f /net/sctp/ulpqueue.c | |
| parent | cc8f2609f42024dac36ef1986d45924397295f46 (diff) | |
SCTP: Resync with LKSCTP tree.
sctp: one more list_t removal.
sctp: more whitespace cleanup (jgrimm)
sctp: merge with linux bk tree
sctp: Minor ABORT updates (ardelle.fan)
sctp: Fix misc. COOKIE-ECHO bundling bugs. (jgrimm)
There were small windows where the following could occur.
-Two DATA chunks bundled with COOKIE-ECHO (only 1 allowed.)
-DATA bundled with lost COOKIE-ECHO needs resent too.
-DATA sent while in COOKIE-ECHOED if there had not been control data already bundled.
sctp: more updates for abort (jgrimm and ardelle.fan)
Cleanup T5 upon abort. Send COMM_LOST notification to ULP upon abort.
sctp: updates to T5 shutdown timer. (samudrala)
I missed a couple changes from Sridhar's last patch.
sctp: more ABORT, cleanup shutdown timers (ardelle.fan)
When we send or receive an ABORT, there may be a variety of timers running.
Turn these timers off when we abort.
sctp: Fix bug in COOKIE-ECHO retransmission. (jgrimm)
We had saved away the pointer directly to the INIT-ACK state cookie param, but upon COOKIE ECHO retransmission, this skb has already been thrown away. The fix is to save away the cookie.
sctp: Unknown chunk processing. (daisyc)
Each chunkheader contains the chunk type.
For forward compatiblity, 'action' bits in the type describe what action
the peer requests if one does not understand that chunk type. This patch is to
implement the handling of those 'unrecognized chunk' actions.
sctp: Add T5 shutdown guard handling. (samudrala)
The T5-shutdown-guard timer is used to bound the time we are willing to try gracefully shutting down. This protects against certain pathological peers.
sctp: Add msg_name support for notifications and PF_INET sockets. (jgrimm)
Diffstat (limited to 'net/sctp/ulpqueue.c')
| -rw-r--r-- | net/sctp/ulpqueue.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/net/sctp/ulpqueue.c b/net/sctp/ulpqueue.c index f2011e0127eb..49c7b67ac80d 100644 --- a/net/sctp/ulpqueue.c +++ b/net/sctp/ulpqueue.c @@ -5,38 +5,38 @@ * Copyright (c) 2001 Intel Corp. * Copyright (c) 2001 Nokia, Inc. * Copyright (c) 2001 La Monte H.P. Yarroll - * + * * This abstraction carries sctp events to the ULP (sockets). - * - * The SCTP reference implementation is free software; - * you can redistribute it and/or modify it under the terms of + * + * The SCTP reference implementation is free software; + * you can redistribute it and/or modify it under the terms of * the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. - * - * The SCTP reference implementation is distributed in the hope that it + * + * The SCTP reference implementation is distributed in the hope that it * will be useful, but WITHOUT ANY WARRANTY; without even the implied * ************************ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with GNU CC; see the file COPYING. If not, write to * the Free Software Foundation, 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - * + * Boston, MA 02111-1307, USA. + * * Please send any bug reports or fixes you make to the * email address(es): * lksctp developers <lksctp-developers@lists.sourceforge.net> - * + * * Or submit a bug report through the following website: * http://www.sf.net/projects/lksctp * - * Written or modified by: + * Written or modified by: * Jon Grimm <jgrimm@us.ibm.com> * La Monte H.P. Yarroll <piggy@acm.org> * Sridhar Samudrala <sri@us.ibm.com> - * + * * Any bugs reported given to us we will try to fix... any fixes shared will * be incorporated into the next SCTP release. */ @@ -131,7 +131,7 @@ int sctp_ulpqueue_tail_data(sctp_ulpqueue_t *ulpq, sctp_chunk_t *chunk, int priority) { struct sk_buff_head temp; - sctp_data_chunk_t *hdr; + sctp_data_chunk_t *hdr; sctp_ulpevent_t *event; hdr = (sctp_data_chunk_t *) chunk->chunk_hdr; @@ -157,7 +157,7 @@ int sctp_ulpqueue_tail_data(sctp_ulpqueue_t *ulpq, sctp_chunk_t *chunk, event = sctp_ulpqueue_order(ulpq, event); } - + /* Send event to the ULP. */ if (event) sctp_ulpqueue_tail_event(ulpq, event); @@ -449,7 +449,7 @@ static inline sctp_ulpevent_t *sctp_ulpqueue_order(sctp_ulpqueue_t *ulpq, /* Check if this message needs ordering. */ if (SCTP_DATA_UNORDERED & event->chunk_flags) - return event; + return event; /* Note: The stream ID must be verified before this routine. */ sid = event->sndrcvinfo.sinfo_stream; |
