public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: lists@cyclades.com (Ivan Passos)
Cc: alan@lxorguk.ukuu.org.uk (Alan Cox),
	linux-kernel@vger.kernel.org (Linux Kernel List)
Subject: Re: Kernel 2.2.18: Protocol 0008 is buggy
Date: Wed, 31 Jan 2001 19:12:46 +0000 (GMT)	[thread overview]
Message-ID: <E14O2gV-0002vT-00@the-village.bc.nu> (raw)
In-Reply-To: <Pine.LNX.4.10.10101310739150.3420-100000@main.cyclades.com> from "Ivan Passos" at Jan 31, 2001 07:43:14 AM

> Is this really supposed to be done in the HW driver / support code level,
> or is it supposed to be done in the protocol (IP / ARP) level??

oops I was half asleep

Driver sets

	skb->mac.raw
	skb->pkt_type
	skb->protocol
(see net/ethernet/eth.c)

	skb->h.raw and skb->nh.raw are set by the receive action code

On transmit

	nh.raw is set by the protocol
	

Note that non -ac kernels have a bug where a packet consisting of pure mac
header causes bogus warnings

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-01-31 19:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-31  2:58 Kernel 2.2.18: Protocol 0008 is buggy Ivan Passos
2001-01-31 13:37 ` Alan Cox
2001-01-31 15:43   ` Ivan Passos
2001-01-31 19:12     ` Alan Cox [this message]
2001-01-31 15:46   ` Ivan Passos

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=E14O2gV-0002vT-00@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lists@cyclades.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox