[SCTP]: Correctly set daddr for IPv6 sockets during peeloff
authorVlad Yasevich <vladislav.yasevich@hp.com>
Tue, 15 May 2007 20:32:39 +0000 (16:32 -0400)
committerVladislav Yasevich <vxy@hera.kernel.org>
Wed, 13 Jun 2007 20:44:41 +0000 (20:44 +0000)
commitd570ee490fb18220262cfe41284d7aede797ed4f
tree4b223d7dae740975118dbe79c590910dab6f647a
parent66e1e3b20cbbf99da63e6c1af0fc6d39c2ed099a
[SCTP]: Correctly set daddr for IPv6 sockets during peeloff

During peeloff of AF_INET6 socket, the inet6_sk(sk)->daddr
wasn't set correctly since the code was assuming IPv4 only.
Now we use a correct call to set the destination address.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Acked-by: Sridhar Samudrala <sri@us.ibm.com>
net/sctp/socket.c