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/linux (1 of 5 files). Show all
Unified · Split
| @@ -231,7 +231,7 @@ struct sctp_datahdr { · 230 unmodified lines | ||
| 231 | 231 | __be32 tsn; |
| 232 | 232 | __be16 stream; |
| 233 | 233 | __be16 ssn; |
| 234 | − __be32 ppid; | |
| 234 | + __u32 ppid; | |
| 235 | 235 | __u8 payload[0]; |
| 236 | 236 | }; |
| 237 | 237 | |