[SCTP]: Correctly set IP id for SCTP traffic
authorVlad Yasevich <vladislav.yasevich@hp.com>
Tue, 31 Oct 2006 02:54:32 +0000 (18:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Oct 2006 02:54:32 +0000 (18:54 -0800)
Make SCTP 1-1 style and peeled-off associations behave like TCP when
setting IP id. In both cases, we set the inet_sk(sk)->daddr and initialize
inet_sk(sk)->id to a random value.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c
net/sctp/socket.c

Simple merge
Simple merge