Subject: NFS anybody? Not with -current and Hydra!
To: None <jmarin@teeri.jmp.fi>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: amiga-dev
Date: 08/04/1995 14:30:20
Hello Jukka,

what you propose, only does 90% of the job, and potentially at the
wrong place (that is, potentially inside a packe), at least if really
a mbuf chain is used.

You want to do the rounding in ed_ring_mbuf() in front of the while
loop, and correct the last mbuf's size by one, if necessary. 

Hm... at least my version, see below, should keep the total length
correct. 

Try this, and send-pr the real diffs if it works.

	Ignatios


+	int correction;

...

+	correction = total_len & 1;
+	total_len += correction;

	while (total_len) {
		...
	}
+	m->m_len -= correction;
	return(m);