]> err.no Git - linux-2.6/commit
[SCTP]: Implement sac_info field in SCTP_ASSOC_CHANGE notification.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 23 Mar 2007 18:34:08 +0000 (11:34 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:03 +0000 (22:28 -0700)
commita5a35e76753d27e782028843a5186f176b50dd16
tree229cd1440150deca3893774dd837e901e88af960
parentbdf3092af601ccad765974652ab103162fbe14f4
[SCTP]: Implement sac_info field in SCTP_ASSOC_CHANGE notification.

As stated in the sctp socket api draft:

   sac_info: variable

   If the sac_state is SCTP_COMM_LOST and an ABORT chunk was received
   for this association, sac_info[] contains the complete ABORT chunk as
   defined in the SCTP specification RFC2960 [RFC2960] section 3.3.7.

We now save received ABORT chunks into the sac_info field and pass that
to the user.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/ulpevent.h
include/net/sctp/user.h
net/sctp/sm_sideeffect.c
net/sctp/sm_statefuns.c
net/sctp/ulpevent.c