public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Re: alignment issues on netif_rx (fwd)
@ 2000-12-18  0:42 Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2000-12-18  0:42 UTC (permalink / raw)
  To: linux-ia64

This just came up on the netdev list.  Is Andi correct and misaligned
IP options will cause a kernel error?

------- Forwarded Message

Return-Path: <owner-netdev@oss.sgi.com>
Date:   Sun, 17 Dec 2000 22:36:12 +0100
From:   Andi Kleen <ak@muc.de>
To:     Johannes Erdfelt <johannes@erdfelt.com>
Cc:     "David S. Miller" <davem@redhat.com>, kai@thphy.uni-duesseldorf.de,
        netdev@oss.sgi.com
Subject: Re: alignment issues on netif_rx

On Sun, Dec 17, 2000 at 04:21:14PM +0100, Johannes Erdfelt wrote:
> 
> However, I can't imagine we've made it this long without this being a
> problem so there must be something I'm missing.

Nobody apparently tried to use IPX on IA64 yet (due to a different ethernet
header length it usually has to deal with an misaligned header)

With this there are also plenty of ways to crash an IA64 box remotely,
e.g. by putting misaligned timestamps into options. 


- -Andi


------- End of Forwarded Message




^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: [Linux-ia64] Re: alignment issues on netif_rx (fwd)
@ 2001-01-05 20:29 David Mosberger
  0 siblings, 0 replies; 2+ messages in thread
From: David Mosberger @ 2001-01-05 20:29 UTC (permalink / raw)
  To: linux-ia64

Yes, that's a known problem.  Unalignment fault handling is REALLY
slow on IA-64 so it's not something you want to do in general.
However, the kernel certainly shouldn't crash due to an unaligned
network header either, so we need to enable unaligned handling in the
kernel (along with printing a nasty message ;-).

	--david

>>>>> On Mon, 18 Dec 2000 11:42:14 +1100, Keith Owens <kaos@ocs.com.au> said:

  Keith> This just came up on the netdev list.  Is Andi correct and
  Keith> misaligned IP options will cause a kernel error?

  Keith> ------- Forwarded Message

  Keith> Return-Path: <owner-netdev@oss.sgi.com> Date: Sun, 17 Dec
  Keith> 2000 22:36:12 +0100 From: Andi Kleen <ak@muc.de> To: Johannes
  Keith> Erdfelt <johannes@erdfelt.com> Cc: "David S. Miller"
  Keith> <davem@redhat.com>, kai@thphy.uni-duesseldorf.de,
  Keith> netdev@oss.sgi.com Subject: Re: alignment issues on netif_rx

  Keith> On Sun, Dec 17, 2000 at 04:21:14PM +0100, Johannes Erdfelt
  Keith> wrote:
  >>  However, I can't imagine we've made it this long without this
  >> being a problem so there must be something I'm missing.

  Keith> Nobody apparently tried to use IPX on IA64 yet (due to a
  Keith> different ethernet header length it usually has to deal with
  Keith> an misaligned header)

  Keith> With this there are also plenty of ways to crash an IA64 box
  Keith> remotely, e.g. by putting misaligned timestamps into options.


  Keith> - -Andi


  Keith> ------- End of Forwarded Message



  Keith> _______________________________________________ Linux-IA64
  Keith> mailing list Linux-IA64@linuxia64.org
  Keith> http://lists.linuxia64.org/lists/listinfo/linux-ia64


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-05 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-18  0:42 [Linux-ia64] Re: alignment issues on netif_rx (fwd) Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2001-01-05 20:29 David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox