]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a8854c2c19a03a170cd4fa02812f003f7f738c4
treea98ab91189d1dd0781d7768c0b0d395c1919d571
parent0d689fcbcefa46c650e4b75b6aa6902b78049d41
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