These warnings were found by running 'make C=2 M=net/sctp/'. They are there since very beginning. Note after this patch, there still one warning left in sctp_outq_flush(): sctp_chunk_fail(chunk, SCTP_ERROR_INV_STRM) Since it has been moved to sctp_stream_outq_migrate on net-next, to avoid the extra job when merging net-next to net, I will post the fix for it after the merging is done.
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -376,7 +376,7 @@ struct sctp_remote_error { · 375 unmodified lines | ||
| 376 | 376 | __u16 sre_type; |
| 377 | 377 | __u16 sre_flags; |
| 378 | 378 | __u32 sre_length; |
| 379 | − __u16 sre_error; | |
| 379 | + __be16 sre_error; | |
| 380 | 380 | sctp_assoc_t sre_assoc_id; |
| 381 | 381 | __u8 sre_data[0]; |
| 382 | 382 | }; |