netdev
[Top] [All Lists]

Re: [patch] add iocb to network protocols

To: bcrl@xxxxxxxxxx (Benjamin LaHaise)
Subject: Re: [patch] add iocb to network protocols
From: kuznet@xxxxxxxxxxxxx
Date: Sat, 12 Oct 2002 00:15:48 +0400 (MSD)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20021010194025.B13432@xxxxxxxxxx> from "Benjamin LaHaise" at Oct 11, 2 04:15:01 am
Sender: netdev-bounce@xxxxxxxxxxx
Hello!

> The private area of an iocb for network operations contains a struct 
> scm_cookie.  The alternative is to allocate it via kmalloc when needed, 
> but there isn't currently a way of identifying which network protocols 
> require the scm_cookie.

Kill it. It was not killed in 2.4 by plain luck, sorry, misfortune.

However, I do not understand this. You need to pass forth and back
SCM_RIGHTS is some way. It is quite dubious to make this asynchronously.
The same is surely true about credentials, they should be latched
on entry, not at the moment of real execution.

Kill anyway, at least in synchronous calls this was my mistake.

Alexey


<Prev in Thread] Current Thread [Next in Thread>