sctp: Fix malformed "Invalid Stream Identifier" error
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 23 Nov 2009 20:53:56 +0000 (15:53 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 23 Nov 2009 20:53:56 +0000 (15:53 -0500)
commit6383cfb3ed3c5c0bea06da0099c219ef4237ecf5
treee3bfb43500b664c5a572d0a9456d7e7ec4f7aeab
parentb93d6471748de2ce02cc24774b774deb306a57a8
sctp: Fix malformed "Invalid Stream Identifier" error

The "Invalid Stream Identifier" error has a 16 bit reserved
field at the end, thus making the parameter length be 8 bytes.
We've never supplied that reserved field making wireshark
tag the packet as malformed.

Reported-by: Chris Dischino <cdischino@sonusnet.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
include/net/sctp/sm.h
net/sctp/sm_make_chunk.c
net/sctp/sm_statefuns.c