| Submitter | KOVACS Krisztian |
|---|---|
| Date | Oct. 18, 2008, 9:48 a.m. |
| Message ID | <200810181148.14620@nessa> |
| Download | mbox | patch |
| Permalink | /patch/4943/ |
| State | Superseded |
| Delegated to: | David Miller |
| Headers | show |
Comments
| I think we're still missing this one: | | diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c | index 1106278..aa00cdd 100644 | --- a/net/dccp/ipv6.c | +++ b/net/dccp/ipv6.c | @@ -558,7 +558,7 @@ static struct sock *dccp_v6_request_recv_sock(struct sock *sk, | ipv6_addr_copy(&fl.fl6_src, &ireq6->loc_addr); | fl.oif = sk->sk_bound_dev_if; | fl.fl_ip_dport = inet_rsk(req)->rmt_port; | - fl.fl_ip_sport = inet_sk(sk)->sport; | + fl.fl_ip_sport = inet_rsk(req)->loc_port; | security_sk_classify_flow(sk, &fl); | | if (ip6_dst_lookup(sk, &dst, &fl)) | | What do you think? Ack - missed this one. Do you want to send your patch or would you like me to send an update for the above? Thanks Gerrit -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index 1106278..aa00cdd 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c @@ -558,7 +558,7 @@ static struct sock *dccp_v6_request_recv_sock(struct sock *sk, ipv6_addr_copy(&fl.fl6_src, &ireq6->loc_addr); fl.oif = sk->sk_bound_dev_if; fl.fl_ip_dport = inet_rsk(req)->rmt_port; - fl.fl_ip_sport = inet_sk(sk)->sport; + fl.fl_ip_sport = inet_rsk(req)->loc_port; security_sk_classify_flow(sk, &fl); if (ip6_dst_lookup(sk, &dst, &fl))