Commit 1ff01561 authored by Marcelo Ricardo Leitner's avatar Marcelo Ricardo Leitner Committed by David S. Miller
Browse files

sctp: reduce indent level in sctp_sf_shut_8_4_5

parent eab59075
Loading
Loading
Loading
Loading
+28 −30
Original line number Diff line number Diff line
@@ -3501,8 +3501,9 @@ static sctp_disposition_t sctp_sf_shut_8_4_5(struct net *net,
	struct sctp_chunk *shut;

	packet = sctp_ootb_pkt_new(net, asoc, chunk);
	if (!packet)
		return SCTP_DISPOSITION_NOMEM;

	if (packet) {
	/* Make an SHUTDOWN_COMPLETE.
	 * The T bit will be set if the asoc is NULL.
	 */
@@ -3539,9 +3540,6 @@ static sctp_disposition_t sctp_sf_shut_8_4_5(struct net *net,
	return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands);
}

	return SCTP_DISPOSITION_NOMEM;
}

/*
 * Handle SHUTDOWN ACK in COOKIE_ECHOED or COOKIE_WAIT state.
 *