mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kuznet@ms2.inr.ac.ru
To: green@dredd.crimea.edu (Oleg Drokin)
Cc: linux-kernel@vger.kernel.org, davem@redhat.com
Subject: Re: IP layer bug?
Date: Fri, 30 Mar 2001 21:13:40 +0400 (MSK DST)	[thread overview]
Message-ID: <200103301713.VAA03794@ms2.inr.ac.ru> (raw)
In-Reply-To: <20010325005731.A5243@dredd.crimea.edu> from "Oleg Drokin" at Mar 25, 1 00:57:31 am

Hello!

>    For now I workarounded it with filling skb->cb with zeroes before
>    netif_rx(),

This is right. For another examples look into tunnels.

> but I believe it is a kludge and networking layer should be fixed instead.

No.

alloc_skb() creates skb with clean cb. ip_rcv() and other protocol handlers
do not redo this work. If device uses cb internally, it must clear it
before handing skb to netif_rx().

Alexey

  parent reply	other threads:[~2001-03-30 17:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-24 21:57 Oleg Drokin
2001-03-26 10:36 ` Manoj Sontakke
2001-03-26  6:09   ` Oleg Drokin
2001-03-26 12:21     ` Manoj Sontakke
2001-03-26  7:02       ` Oleg Drokin
2001-03-30 17:13 ` kuznet [this message]
2001-03-31 15:03   ` Oleg Drokin
2001-03-31 15:32     ` kuznet
2001-04-02  9:25       ` Oleg Drokin

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=200103301713.VAA03794@ms2.inr.ac.ru \
    --to=kuznet@ms2.inr.ac.ru \
    --cc=davem@redhat.com \
    --cc=green@dredd.crimea.edu \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®