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

From: Alexey Kuznetsov (kuznet@ms2.inr.ac.ru)
Date: Wed Aug 01 2001 - 17:46:56 EST


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/



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:11 EST