sctp: fix SSN comparision
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Thu, 15 Sep 2016 18:02:38 +0000 (15:02 -0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Sep 2016 13:59:31 +0000 (09:59 -0400)
commit4496195ddd75c4ad57b783739414e69b7d79843e
treede76fff3777c7db4816d1db72ca9c74e62a597ef
parent8ab86c00e349cef9fb14719093a7f198bcc72629
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>
include/net/sctp/sm.h