]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: fix append error cause to ERROR chunk correctly
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 18 May 2010 05:51:58 +0000 (22:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 05:51:58 +0000 (22:51 -0700)
commit37bbdcade094a76f8668a94f52dc275c60064d64
tree526cd94d906cc687f556631643fdfa43260918c5
parent5c094623008ea357f85aeca7bb2aa34f8d2fc66b
sctp: fix append error cause to ERROR chunk correctly

commit 345b7d8a44a532d3a5c2f339c6fb82c972893756
  sctp: Fix skb_over_panic resulting from multiple invalid \
    parameter errors (CVE-2010-1173) (v4)

cause 'error cause' never be add the the ERROR chunk due to
some typo when check valid length in sctp_init_cause_fixed().

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Reviewed-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_make_chunk.c