sctp: correctly save sctp_adaptation from parameter.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 15 Sep 2008 20:29:49 +0000 (16:29 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 1 Oct 2008 15:34:16 +0000 (11:34 -0400)
commite69c4e0f1210450841e40716894ba6a877b31d52
treea259fb694a98913339fd6ad89a6a83321309df90
parent96cd0d3d710e64c55e034b77052d7ac46f094759
sctp: correctly save sctp_adaptation from parameter.

The INIT perameter carries the adapatation value in network-byte
order.  We need to store it in host byte order as expected
by data types and the user API.

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