Hello!

> I want to bind to non-local IP and send/receive UDP packets.

This is impossible, apparently.


> but in tcp_v4_connect:
>         tmp = ip_route_connect(&rt, nexthop, sk->saddr,
>               RT_TOS(sk->ip_tos)|RTO_CONN|sk->localroute, sk->bound_dev_if);
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^

And this is __terrible__ bug. RTO_CONN cannot be set here.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to