]> err.no Git - linux-2.6/commit
[SCTP]: Incorrect length was used in SCTP_*_AUTH_CHUNKS socket option
authorVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 27 Feb 2008 19:40:37 +0000 (14:40 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 28 Feb 2008 21:45:01 +0000 (16:45 -0500)
commitb40db6846847e82daf175641987df29324c425fa
tree11f1f64c79c2da85eaf4bbd13828616058ea22af
parent15efbe763978d7cc327d824d9e8f8f9e525dd40d
[SCTP]: Incorrect length was used in SCTP_*_AUTH_CHUNKS socket option

The chunks are stored inside a parameter structure in the kernel
and when we copy them to the user, we need to account for
the parameter header.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/socket.c