Commit 651c8f88 authored by Nicholas Miell's avatar Nicholas Miell Committed by David S. Miller

net/sctp/sm_make_chunk.c: Fix typo.

parent acf6f8b3
......@@ -1595,7 +1595,7 @@ int sctp_process_param(sctp_association_t *asoc, sctpParam_t param,
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment