Subject: Re: pppoe & mbuf chain
To: None <itojun@iijlab.net>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-net
Date: 06/22/2002 14:12:12
From: itojun@iijlab.net
Subject: Re: pppoe & mbuf chain 
Date: Sat, 22 Jun 2002 14:04:24 +0900
> >> >+		/* should be in a single mbuf */
> >> >+		if (m->m_next != NULL) {
> >> >+			m = m_pullup(m, m->m_len);
> >> 	m_pullup(m, m->m_len) seems really incorrect to me (as this would
> >> 	be a no-op).  the 2nd arg must be something else.
> >yes, i intended m_pullup(m, m->m_pkthdr.len). :)
> >thanks.
> 
> 	that have high possibility of failure (if m->m_pkthdr.len > MHLEN,
> 	m_pullup will fail), so i'd suggest rewriting pppoe code not to require
> 	"single mbuf" restriction.

ETHERTYPE_PPPOEDISC packets can be so large actually?

---
YAMAMOTO Takashi<yamt@mwd.biglobe.ne.jp>