summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/OR_USING_C/10.1.c
AgeCommit message (Expand)AuthorFilesLines
2008-01-27Initial import (2.0.2-6)2.0.2-6Tobias Klauser1-0/+39
6-09-17 09:59:31 -0400 commit4496195ddd75c4ad57b783739414e69b7d79843e (patch) treede76fff3777c7db4816d1db72ca9c74e62a597ef parent8ab86c00e349cef9fb14719093a7f198bcc72629 (diff)
sctp: fix SSN comparision
This function actually operates on u32 yet its paramteres were declared as u16, causing integer truncation upon calling. Note in patch context that ADDIP_SERIAL_SIGN_BIT is already 32 bits. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat