commit | 902ebd3e0de618b6d39004edac00b2cc36362065 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Mon May 09 14:49:13 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue May 10 13:32:47 2011 -0700 |
tree | 907740c5c0ff7aba906141001d8c69209f5498a6 | |
parent | 79ab053145ae10edf8f0809d1c788b853c7f6ef1 [diff] [blame] |
sctp: Remove rt->rt_src usage in sctp_v4_get_saddr() Flow key is available, so fetch it from there. Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 4f270ac..4de77cb 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c
@@ -566,7 +566,7 @@ 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; } }