sctp: declare struct sctp_stream before using it
authorXin Long <lucien.xin@gmail.com>
Mon, 20 Mar 2017 09:46:27 +0000 (17:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 17:57:52 +0000 (10:57 -0700)
commit1511949c61ec63e4b646c34d602ac6990b38ce30
tree50799693f25e5e4878183fb07890c20ca8189b67
parent07fef3623407444e51c12ea57cd91df38c1069e0
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 <lucien.xin@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h