Hello!

> Digging into the netperf's sources revealed that it uses connect() and
> send() also with UDP sockets. So, I added this option to my UDP sender and
> after that all the packets went to one tunnel even if I changed the
> default route multiple times. It seems that when the socket (at least
> SOCK_DGRAM) is in connected mode, the routing table change does not change
> (at least in less than 10 seconds) the effective destination of the
> packets. Is this the correct action?

No, it is bug. Look at net/ipv4/udp.c, find line "connected=1"
and delete it.

Alexey Kuznetsov
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to