summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-03-20 17:46:27 +0800
committerDavid S. Miller <davem@davemloft.net>2017-03-22 10:57:52 -0700
commit1511949c61ec63e4b646c34d602ac6990b38ce30 (patch)
tree50799693f25e5e4878183fb07890c20ca8189b67 /include/net
parent07fef3623407444e51c12ea57cd91df38c1069e0 (diff)
downloadop-kernel-dev-1511949c61ec63e4b646c34d602ac6990b38ce30.zip
op-kernel-dev-1511949c61ec63e4b646c34d602ac6990b38ce30.tar.gz
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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sctp/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 4f64519..592dece 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 <net/sctp/tsnmap.h>
OpenPOWER on IntegriCloud