summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 17:23:46 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:27:04 -0800
commit9fd76494855c974e9079e9812ba5ecf88dedab38 (patch)
tree5e4142c2d6524b6159f83ca05f70ddc0bbc32977
parent7dd8a5821dd4991916c4eedf84e10fc2d0b47555 (diff)
downloadlinux-3.10-9fd76494855c974e9079e9812ba5ecf88dedab38.tar.gz
linux-3.10-9fd76494855c974e9079e9812ba5ecf88dedab38.tar.bz2
linux-3.10-9fd76494855c974e9079e9812ba5ecf88dedab38.zip
[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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c
index a76ffc14389..e6bb08767b8 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,
fl.oif = transport->saddr.v6.sin6_scope_id;
else
fl.oif = sk->sk_bound_dev_if;
- fl.fl_ip_sport = inet_sk(sk)->sport;
- fl.fl_ip_dport = transport->ipaddr_h.v6.sin6_port;
if (np->opt && np->opt->srcrt) {
struct rt0_hdr *rt0 = (struct rt0_hdr *) np->opt->srcrt;