Re: udp <-> tcp connect

From: kuznet@ms2.inr.ac.ru
Date: Sat Mar 31 2001 - 13:26:40 EST


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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 31 2001 - 21:00:24 EST