Re: [PATCH net] sctp: fix SSN comparision

2016-09-17 Thread David Miller
From: Marcelo Ricardo Leitner Date: Thu, 15 Sep 2016 15:02:38 -0300 > 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 Ri

Re: [PATCH net] sctp: fix SSN comparision

2016-09-16 Thread Neil Horman
On Thu, Sep 15, 2016 at 03:02:38PM -0300, Marcelo Ricardo Leitner wrote: > 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

[PATCH net] sctp: fix SSN comparision

2016-09-15 Thread Marcelo Ricardo Leitner
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 --- This issue exists since before git import, so I can't put a Fi