Commit cb0dc77d authored by Al Viro's avatar Al Viro Committed by David S. Miller
Browse files

net: fix sctp breakage



broken by commit 5e739d17; AFAICS should
be -stable fodder as well...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Aced-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1b1d8f73
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -111,7 +111,8 @@ static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep,
		if (sctp_addip_enable) {
			auth_chunks->chunks[0] = SCTP_CID_ASCONF;
			auth_chunks->chunks[1] = SCTP_CID_ASCONF_ACK;
			auth_chunks->param_hdr.length += htons(2);
			auth_chunks->param_hdr.length =
					htons(sizeof(sctp_paramhdr_t) + 2);
		}
	}