netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: "David S. Miller" <davem@redhat.com>
Cc: shemminger@osdl.org, ak@suse.de, netdev@oss.sgi.com
Subject: Re: [PATCH] consolidate skb delivery
Date: Tue, 7 Oct 2003 03:40:03 -0700	[thread overview]
Message-ID: <20031007034003.7a926a05.davem@redhat.com> (raw)
In-Reply-To: <20031003001128.587ac102.davem@redhat.com>

On Fri, 3 Oct 2003 00:11:28 -0700
"David S. Miller" <davem@redhat.com> wrote:

> I would suggest we eliminate support for old style protocols
> now.  We can do that by making the ptype registry in net/core/dev.c
> fail if the thing being registered is old-style.
> 
> I'll code this up.

Ok, as it turns out, instead I converted all the old-style
protocols.  When things seemed really complex or hard to
convert easily I just put:

	nskb = skb_copy(skb, GFP_ATOMIC);
	if (!nskb)
		goto drop;
	kfree_skb(skb);
	skb = nskb;

at the top of the input handler.  The only instance that I did
this for actually was x25.

      reply	other threads:[~2003-10-07 10:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-02 17:21 [PATCH] consolidate skb delivery Stephen Hemminger
2003-10-02 19:25 ` Andi Kleen
2003-10-02 19:43   ` Stephen Hemminger
2003-10-03  7:11     ` David S. Miller
2003-10-07 10:40       ` David S. Miller [this message]

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=20031007034003.7a926a05.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=ak@suse.de \
    --cc=netdev@oss.sgi.com \
    --cc=shemminger@osdl.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).