SCTP: IPv4 mapped addr not returned in SCTPv6 accept()
authorVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 1 Aug 2007 14:56:43 +0000 (10:56 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 1 Aug 2007 15:19:06 +0000 (11:19 -0400)
commite4d1feab5df035312494ce3037ac5f041d0f5fc9
tree9ed83f1037b0df8478c29143357ea4e66314d364
parentb225b884a18a1932db5414abd3ef94a45e4e348e
SCTP: IPv4 mapped addr not returned in SCTPv6 accept()

When issuing a connect call on an AF_INET6 sctp socket with
a IPv4-mapped destination, the peer address that is returned
by getpeeraddr() should be v4-mapped as well.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/socket.c