Skip to content

Commit 1511949

Browse files
lxindavem330
authored andcommitted
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: a838631 ("sctp: prepare asoc stream for stream reconf") Signed-off-by: Xin Long <[email protected]> Acked-by: Neil Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 07fef36 commit 1511949

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/net/sctp/structs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ struct sctp_bind_addr;
8383
struct sctp_ulpq;
8484
struct sctp_ep_common;
8585
struct crypto_shash;
86+
struct sctp_stream;
8687

8788

8889
#include <net/sctp/tsnmap.h>

0 commit comments

Comments
 (0)