projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/net/sctp/transport.c
b/net/sctp/transport.c
index 6bc27200e6cafc8251ebc50b3bac6521a943abf6..268ddaf2dc0f6baa8ca2f5ccf0c6a7bf5b98d480 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;
}