OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6736dc3
)
[SCTP]: Fix getsockname for sctp when an ipv6 socket accepts a connection from
author
Neil Horman
<nhorman@tuxdriver.com>
Sat, 3 Dec 2005 04:32:29 +0000
(20:32 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sat, 3 Dec 2005 04:32:29 +0000
(20:32 -0800)
an ipv4 socket.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/transport.c
patch
|
blob
|
history
diff --git
a/net/sctp/transport.c
b/net/sctp/transport.c
index
6bc2720
..
268ddaf
100644
(file)
--- a/
net/sctp/transport.c
+++ b/
net/sctp/transport.c
@@
-261,7
+261,8
@@
void sctp_transport_route(struct sctp_transport *transport,
* association's active path for getsockname().
*/
if (asoc && (transport == asoc->peer.active_path))
- af->to_sk_saddr(&transport->saddr, asoc->base.sk);
+ opt->pf->af->to_sk_saddr(&transport->saddr,
+ asoc->base.sk);
} else
transport->pmtu = SCTP_DEFAULT_MAXSEGMENT;
}