Re: Why istn't dup in TCP working??

Alexey Kuznetsov (kuznet@ms2.inr.ac.ru)
Wed, 1 Aug 2001 02:46:56 -2000 (MSD)


Hello!

> module in 2.4.x the first error that I get is that dup is not a
> part of socket's operation structure anymore.
> So what is the replacement for it, I couldn't find any
> in the proto_ops structure?

dup was alias for sock_create() and hence deleted.

The question in reply: what did you use this for?
It was not used in 2.2 for anything but creating in accept()
a socket which was instanly dropped. :-)

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/