| Age | Commit message (Collapse) | Author |
|
With a was number of callsites sctp_add_cmd_sf wrapper bloats
kernel by some amount. Due to unlikely tracking allyesconfig,
with the initial result were around ~7kB (thus caught my
attention) while a non-debug config produced only ~2.3kB effect.
I (ij) proposed first a patch to uninline it but Vlad responded
with a patch that removed the only sctp_add_cmd call which is
wrapped by sctp_add_cmd_sf (I wasn't sure if I could do that).
I did minor cleanup to Vlad's patch.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
I was notified by Randy Stewart that lksctp claims to be
"the reference implementation". First of all, "the
refrence implementation" was the original implementation
of SCTP in usersapce written ty Randy and a few others.
Second, after looking at the definiton of 'reference implementation',
we don't really meet the requirements.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
|
|
Signed-off-by: Adrian Bunk <bunk@stutsa.de>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
|
|
More typedef removals and naming consistency.
Remove sctp_association_t, sctp_endpoint_t, & sctp_endpoint_common_t.
|
|
Code had hardcoded limits to the maximum stream that could be used,
and consequent static data structures. Now dynamically allocate
storage for the SSN maps until _after_ we know what they are.
Protocols such as SIP want to use all possible streams.
|
|
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)
|
|
|