Re: unix socket migration in openssi 1.9.3
Mikhail Soloviev <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 10 Dec 2007 18:01:21 +0000 "Watson, Brian J. (HP Labs)" <[email protected]> wrote: > Is the problem you're seeing that ssidev_remote_fops->aio_read points to ssidev_read(), which in turn causes f_op->read (rather than f_op->aio_read) to be called on the real socket object? If that's true, then this might need to be fixed by defining ssidev_aio_read() and rssidev_aio_read() methods. The problem I see is that process failed to work with socket after migration. rssidev_read() returnes -EINVAL, because it expects f_op->read to be set, while on sockets only f_op->aio_read set, but not f_op->read. I mean, is it a right path used for remote socket operations? Shouldn't it be done by socket layer and rmtsock.c code? -- wbr, sk ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php