android_kernel_google_msm/include/net/sctp
Vlad Yasevich 313e7b4d25 [SCTP]: Fix machine check/connection hang on IA64.
sctp_unpack_cookie used an on-stack array called digest as a result/out
parameter in the call to crypto_hmac. However, hmac code
(crypto_hmac_final)
assumes that the 'out' argument is in virtual memory (identity mapped
region)
and can use virt_to_page call on it.  This does not work with the on-stack
declared digest.  The problems observed so far have been:
 a) incorrect hmac digest
 b) machine check and hardware reset.

Solution is to define the digest in an identity mapped region by
kmalloc'ing
it.  We can do this once as part of the endpoint structure and re-use it
when
verifying the SCTP cookie.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
2006-01-17 11:55:57 -08:00
..
command.h [SCTP]: Fix ia64 NaT consumption fault with sctp_sideffect commands. 2005-11-11 16:07:40 -08:00
constants.h [TCP]: Move the tcp sock states to net/tcp_states.h 2005-08-29 15:41:54 -07:00
sctp.h [NET]: Use NIP6_FMT in kernel.h 2006-01-13 14:29:07 -08:00
sm.h [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
structs.h [SCTP]: Fix machine check/connection hang on IA64. 2006-01-17 11:55:57 -08:00
tsnmap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ulpevent.h [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
ulpqueue.h [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
user.h [SCTP]: Add support for SCTP_DELAYED_ACK_TIME socket option. 2006-01-03 13:11:13 -08:00