All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin LaHaise <bcrl@redhat.com>
To: "David S. Miller" <davem@redhat.com>
Cc: netdev@oss.sgi.com
Subject: Re: [patch] add iocb to network protocols
Date: Thu, 10 Oct 2002 19:40:25 -0400	[thread overview]
Message-ID: <20021010194025.B13432@redhat.com> (raw)
In-Reply-To: <20021010.162240.102769920.davem@redhat.com>; from davem@redhat.com on Thu, Oct 10, 2002 at 04:22:40PM -0700

On Thu, Oct 10, 2002 at 04:22:40PM -0700, David S. Miller wrote:
> 
> +#include <net/scm.h>	/* for sock_iocb */
> 
> What is this?

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.  Since most network protocols do not use it, 
would you rather remove the scm_cookie out of the default path and 
allow the protocol to choose to create it?  That would remove the 
dependancy on scm_cookie from sock_iocb entirely.

		-ben
-- 
"Do you seek knowledge in time travel?"

  reply	other threads:[~2002-10-10 23:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-10 22:35 [patch] add iocb to network protocols Benjamin LaHaise
2002-10-10 23:22 ` David S. Miller
2002-10-10 23:40   ` Benjamin LaHaise [this message]
2002-10-10 23:36     ` David S. Miller
2002-10-11 20:15     ` kuznet
2002-10-11 20:24       ` Benjamin LaHaise
2002-10-11  9:31 ` Steven Whitehouse
2002-10-11 10:27   ` Benjamin LaHaise
2002-10-12  1:21 ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021010194025.B13432@redhat.com \
    --to=bcrl@redhat.com \
    --cc=davem@redhat.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.