Skip to contentSkip to conversation

2.5.33 SCTP typo fix

PATCH Applied Nicholas Miell 2 participants 2 messages Sep 1, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
net/sctp/sm_make_chunk.c renamed from net/sctp/sm_make_chunk.c.~1~ +1 -1
@@ -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;