projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79ab053
)
sctp: Remove rt->rt_src usage in sctp_v4_get_saddr()
author
David S. Miller
<davem@davemloft.net>
Mon, 9 May 2011 21:49:13 +0000
(14:49 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 10 May 2011 20:32:47 +0000
(13:32 -0700)
Flow key is available, so fetch it from there.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sctp/protocol.c
b/net/sctp/protocol.c
index 4f270ac48226868668f1d9912d226fc57ac1a987..4de77cb80d88c66de4036efc8911965ca08744dc 100644
(file)
--- a/
net/sctp/protocol.c
+++ b/
net/sctp/protocol.c
@@
-566,7
+566,7
@@
static void sctp_v4_get_saddr(struct sctp_sock *sk,
if (rt) {
saddr->v4.sin_family = AF_INET;
- saddr->v4.sin_addr.s_addr =
rt->rt_src
;
+ saddr->v4.sin_addr.s_addr =
fl->u.ip4.saddr
;
}
}