The long-time-waited-for patch for PPP.
See Gene's mail for explanation.. Submitted by: Gene Stark
This commit is contained in:
parent
d117a622c6
commit
033f71c8e2
@ -69,7 +69,7 @@
|
||||
* Paul Mackerras (paulus@cs.anu.edu.au).
|
||||
*/
|
||||
|
||||
/* $Id: if_ppp.c,v 1.5 1994/11/01 09:03:16 pst Exp $ */
|
||||
/* $Id: if_ppp.c,v 1.6 1994/11/01 22:18:34 wollman Exp $ */
|
||||
/* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */
|
||||
|
||||
#include "ppp.h"
|
||||
@ -432,6 +432,7 @@ pppwrite(tp, uio, flag)
|
||||
m_freem(m0);
|
||||
return (ENOBUFS);
|
||||
}
|
||||
m->m_len=0;
|
||||
if (uio->uio_resid >= MCLBYTES / 2)
|
||||
MCLGET(m, M_DONTWAIT);
|
||||
len = M_TRAILINGSPACE(m);
|
||||
|
Loading…
x
Reference in New Issue
Block a user