lkml.org 
[lkml]   [1997]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel > 2.1.36 & nfs
   Date: 	Fri, 20 Jun 1997 17:25:11 +0200 (MET DST)
From: okir@monad.swb.de (Olaf Kirch)

I think we can avoid those pathological cases (IP IP IP..) cited by
Alan if we pass on the fragments only for packets where we know
it's some well-behaved protocol (UDP, TCP), and the header is
completely contained in the first fragment.

These pathological cases are actually even easier to solve.

Just have the prot->rcv for encapsulated IP be some dummy function
which first checks whats in the first chain and pulls stuff up if
necessary, then it calls the real ip_rcv(), taking all of this junk
out of the main code path.

Similar tricks can be used in other situations.

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.567 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site