[SCTP]: Fix IPv6 address flag setting when doing peel-off/accept.
authorVladislav Yasevich <vladislav.yasevich@hp.com>
Tue, 22 Aug 2006 07:23:13 +0000 (00:23 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:55:18 +0000 (14:55 -0700)
commiteb5fa39f5ef490c72901b547ac5e7211efd47d56
treed580df5be11d8a0be0fa45c90588622925046db2
parentdf7deeb5402087ea0387173aaf067d37a264a8f0
[SCTP]: Fix IPv6 address flag setting when doing peel-off/accept.

During accept/peeloff we try to copy the list of bound addresses from
the original endpoint to the new one. However, we forgot to set the flag
to say that IPv6 is allowed on the new endpoint.

Signed-off-by: Vladislav 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/socket.c