sctp: force SCTP_ERROR_INV_STRM with __u32 when calling sctp_chunk_fail
authorXin Long <[email protected]>
Sun, 26 Nov 2017 12:16:06 +0000 (20:16 +0800)
committerDavid S. Miller <[email protected]>
Tue, 28 Nov 2017 16:00:13 +0000 (11:00 -0500)
commit08f46070dde2a835a7a5bfd4c70372c27bff5d88
tree0f6463fbe1e6355e3f6b372216f4b5f9b153ff30
parentf95d5bf03b5ec0d7ea8e552e15abe70c646249b5
sctp: force SCTP_ERROR_INV_STRM with __u32 when calling sctp_chunk_fail

This patch is to force SCTP_ERROR_INV_STRM with right type to
fit in sctp_chunk_fail to avoid the sparse error.

Signed-off-by: Xin Long <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sctp/stream.c