mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
[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>
This commit is contained in:
parent
7dd8a5821d
commit
9fd7649485
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user