kernel_optimize_test/include/net/sctp
Wei Yongjun ba0166708e sctp: Fix kernel panic while process protocol violation parameter
Since call to function sctp_sf_abort_violation() need paramter 'arg' with
'struct sctp_chunk' type, it will read the chunk type and chunk length from
the chunk_hdr member of chunk. But call to sctp_sf_violation_paramlen()
always with 'struct sctp_paramhdr' type's parameter, it will be passed to
sctp_sf_abort_violation(). This may cause kernel panic.

   sctp_sf_violation_paramlen()
     |-- sctp_sf_abort_violation()
        |-- sctp_make_abort_violation()

This patch fixed this problem. This patch also fix two place which called
sctp_sf_violation_paramlen() with wrong paramter type.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-09-30 05:32:24 -07:00
..
auth.h
checksum.h sctp: remove unnecessary byteshifting, calculate directly in big-endian 2008-07-18 23:07:09 -07:00
command.h
constants.h
sctp.h sctp: Kill SCTP_SOCK_SLEEP_{PRE,POST}, unused. 2008-06-17 00:40:36 -07:00
sm.h sctp: Fix kernel panic while process protocol violation parameter 2008-09-30 05:32:24 -07:00
structs.h sctp: Drop ipfargok in sctp_xmit function 2008-08-03 21:15:08 -07:00
tsnmap.h
ulpevent.h
ulpqueue.h
user.h sctp: Support the new specification of sctp_connectx() 2008-05-09 15:14:11 -07:00