commit | 1511949c61ec63e4b646c34d602ac6990b38ce30 | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Mon Mar 20 17:46:27 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 22 10:57:52 2017 -0700 |
tree | 50799693f25e5e4878183fb07890c20ca8189b67 | |
parent | 07fef3623407444e51c12ea57cd91df38c1069e0 [diff] |
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>