]> git.baikalelectronics.ru Git - kernel.git/commit
[SCTP]: Unmap v4mapped addresses during SCTP_BINDX_REM_ADDR operation.
authorPaolo Galtieri <pgaltieri@mvista.com>
Tue, 17 Apr 2007 19:52:36 +0000 (12:52 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 17 Apr 2007 20:13:42 +0000 (13:13 -0700)
commit69ab5c7b8e9dcda64f29fed3d0a5e324d34c1d32
tree2891fb70f028c5101a98afa5e4237796d6ecbfc0
parent3bf50831a751f62589e377fca219506d660c4970
[SCTP]: Unmap v4mapped addresses during SCTP_BINDX_REM_ADDR operation.

During the sctp_bindx() call to add additional addresses to the
endpoint, any v4mapped addresses are converted and stored as regular
v4 addresses.  However, when trying to remove these addresses, the
v4mapped addresses are not converted and the operation fails.  This
patch unmaps the addresses on during the remove operation as well.

Signed-off-by: Paolo Galtieri <pgaltieri@mvista.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c