Re: Dynamic IP hack (PR#294)

kuznet@ms2.inr.ac.ru
Sun, 18 Oct 1998 22:08:44 +0400 (MSK DST)


Hello!

> I think that is the wrong way.

Andi, look at this piece of code (especially, with patch under discussion)
and you will understand that it must be either deleted at all,
or (taking into account its importance) reliably ifdefed.

> the others don't. So IMHO the right thing(tm) is to check if the socket
> was bound explicitely and if yes don't do the rewrite. There currently
> seems to be no way to do it so that needs a new per-socket flag (that
> is cleaned on shutdown of course)

Yes. If it were programmed accurately I had no reasons to object.

About established state: no IFF_DYNAMIC will help you: established
is established.

Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/