]> err.no Git - linux-2.6/commitdiff
[SCTP]: ip6_send() doesn't need fl_ip_[sd]port.
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Nov 2006 01:23:46 +0000 (17:23 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:27:04 +0000 (21:27 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/ipv6.c

index a76ffc143894656ed18bd728f660008fb03d9cb0..e6bb08767b83a1fce056ff243251c53e9a2010cf 100644 (file)
@@ -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;