linux-stable-rt/net/sctp
malc 6fc791ee63 sctp: add Adaptation Layer Indication parameter only when it's set
RFC5061 states:

        Each adaptation layer that is defined that wishes
        to use this parameter MUST specify an adaptation code point in an
        appropriate RFC defining its use and meaning.

If the user has not set one - assume they don't want to sent the param
with a zero Adaptation Code Point.

Rationale - Currently the IANA defines zero as reserved - and
1 as the only valid value - so we consider zero to be unset - to save
adding a boolean to the socket structure.

Including this parameter unconditionally causes endpoints that do not
understand it to report errors unnecessarily.

Signed-off-by: Malcolm Lashley <mlashley@gmail.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-13 11:37:58 -07:00
..
Kconfig
Makefile
associola.c
auth.c
bind_addr.c
chunk.c
command.c
debug.c sctp: Add some missing types for debug message 2009-03-02 22:49:16 -08:00
endpointola.c
input.c
inqueue.c
ipv6.c sctp: Inherit all socket options from parent correctly. 2009-02-16 00:03:11 -08:00
objcnt.c
output.c
outqueue.c sctp: fix to send FORWARD-TSN chunk only if peer has such capable 2009-03-13 11:37:58 -07:00
primitive.c
proc.c
protocol.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
sm_make_chunk.c sctp: add Adaptation Layer Indication parameter only when it's set 2009-03-13 11:37:58 -07:00
sm_sideeffect.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
sm_statefuns.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
sm_statetable.c
socket.c sctp: simplify sctp listening code 2009-03-13 11:37:56 -07:00
ssnmap.c
sysctl.c
transport.c sctp: use time_before or time_after for comparing jiffies 2009-03-02 22:49:18 -08:00
tsnmap.c
ulpevent.c
ulpqueue.c