]> git.baikalelectronics.ru Git - kernel.git/commit
[SCTP]: Handle the wildcard ADD-IP Address parameter
authorVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 20 Dec 2007 22:08:56 +0000 (14:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:59:20 +0000 (14:59 -0800)
commitd58df341bcaa73d9a2341261b287c6cd622c6d96
tree18489b96b4af4ec12ebafc8ea1cb9fd3e6756ce1
parentfadc3a619020548e5e4e598a74764ab9fc0cc9d3
[SCTP]: Handle the wildcard ADD-IP Address parameter

The Address Parameter in the parameter list of the ASCONF chunk
may be a wildcard address.  In this case special processing
is required.  For the 'add' case, the source IP of the packet is
added.  In the 'del' case, all addresses except the source IP
of packet are removed. In the "mark primary" case, the source
address is marked as primary.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/associola.c
net/sctp/sm_make_chunk.c