diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:23:46 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:27:04 -0500 |
commit | 9fd76494855c974e9079e9812ba5ecf88dedab38 (patch) | |
tree | 5e4142c2d6524b6159f83ca05f70ddc0bbc32977 | |
parent | 7dd8a5821dd4991916c4eedf84e10fc2d0b47555 (diff) |
[SCTP]: ip6_send() doesn't need fl_ip_[sd]port.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/sctp/ipv6.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index a76ffc143894..e6bb08767b83 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c | |||
@@ -170,8 +170,6 @@ static int sctp_v6_xmit(struct sk_buff *skb, struct sctp_transport *transport, | |||
170 | fl.oif = transport->saddr.v6.sin6_scope_id; | 170 | fl.oif = transport->saddr.v6.sin6_scope_id; |
171 | else | 171 | else |
172 | fl.oif = sk->sk_bound_dev_if; | 172 | fl.oif = sk->sk_bound_dev_if; |
173 | fl.fl_ip_sport = inet_sk(sk)->sport; | ||
174 | fl.fl_ip_dport = transport->ipaddr_h.v6.sin6_port; | ||
175 | 173 | ||
176 | if (np->opt && np->opt->srcrt) { | 174 | if (np->opt && np->opt->srcrt) { |
177 | struct rt0_hdr *rt0 = (struct rt0_hdr *) np->opt->srcrt; | 175 | struct rt0_hdr *rt0 = (struct rt0_hdr *) np->opt->srcrt; |