sctp: Add ASCONF operation on the single-homed host
authorMichio Honda <micchie@sfc.wide.ad.jp>
Tue, 26 Apr 2011 11:19:36 +0000 (20:19 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jun 2011 09:04:53 +0000 (02:04 -0700)
commit8a07eb0a50aebc8c95478d49c28c7f8419a26cef
treea98ab91189d1dd0781d7768c0b0d395c1919d571
parent7dc04d712203eecdc1435a4cd135935c4a297be5
sctp: Add ASCONF operation on the single-homed host

In this case, the SCTP association transmits an ASCONF packet
including addition of the new IP address and deletion of the old
address.  This patch implements this functionality.
In this case, the ASCONF chunk is added to the beginning of the
queue, because the other chunks cannot be transmitted in this state.

Signed-off-by: Michio Honda <micchie@sfc.wide.ad.jp>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/associola.c
net/sctp/outqueue.c
net/sctp/protocol.c
net/sctp/sm_make_chunk.c
net/sctp/socket.c