]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: force SCTP_ERROR_INV_STRM with __u32 when calling sctp_chunk_fail
authorXin Long <lucien.xin@gmail.com>
Sun, 26 Nov 2017 12:16:06 +0000 (20:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Nov 2017 16:00:13 +0000 (11:00 -0500)
commitc0bbb6cbc17a5bba160431b67d9dec074dedc735
tree0f6463fbe1e6355e3f6b372216f4b5f9b153ff30
parent3eb70d6429fa7f58b45a061d852898bd296eed65
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 <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/stream.c