From: Xin Long Date: Mon, 20 Mar 2017 09:46:27 +0000 (+0800) Subject: sctp: declare struct sctp_stream before using it X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1511949c61ec63e4b646c34d602ac6990b38ce30;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sctp: declare struct sctp_stream before using it sctp_stream_free uses struct sctp_stream as a param, but struct sctp_stream is defined after it's declaration. This patch is to declare struct sctp_stream before sctp_stream_free. Fixes: a83863174a61 ("sctp: prepare asoc stream for stream reconf") Signed-off-by: Xin Long Acked-by: Neil Horman Signed-off-by: David S. Miller --- diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 4f645198e9bd..592decebac75 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -83,6 +83,7 @@ struct sctp_bind_addr; struct sctp_ulpq; struct sctp_ep_common; struct crypto_shash; +struct sctp_stream; #include