--- linux-2.5-build/net/sctp/sm_make_chunk.c.~1~ Thu Aug 29 16:54:46 2002
+++ linux-2.5-build/net/sctp/sm_make_chunk.c Sat Aug 31 23:24:23 2002
@@ -1595,7 +1595,7 @@
case SCTP_PARAM_STATE_COOKIE:
asoc->peer.cookie_len =
- ntohs(param.p->length) =
+ ntohs(param.p->length) -
sizeof(sctp_paramhdr_t);
asoc->peer.cookie = param.cookie->body;
break;