]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5ff69c0b0aea7ca507b466f6feac39fac4c076b
tree9ed83f1037b0df8478c29143357ea4e66314d364
parent14b66d8d95fb5ed03fd6e2894433cd002386c4d7
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