Skip to content

bug of the inet_csk_route_req function #152

@GoogleCodeExporter

Description

@GoogleCodeExporter
--- inet_connection_sock.bug.c 
+++ inet_connection_sock.c 
@@ -331,7 +331,7 @@
    fl.oif=sk->sk_bound_dev_if;

    fl.nl_u.ip4_u.daddr=((opt && opt->srr) ?  opt->faddr : ireq-
>rmt_addr);
-   fl.nl_u.ip4_u.saddr=ireq->rmt_addr;
+   fl.nl_u.ip4_u.saddr=ireq->loc_addr;
    fl.nl_u.ip4_u.tos=RT_CONN_FLAGS(sk); 

    fl.proto=sk->sk_protocol;

Original issue reported on code.google.com by wenyong...@gmail.com on 17 Jul 2009 at 1:46

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions