cvs commit: src/sys/net ppp_tty.c

Gleb Smirnoff glebius at FreeBSD.org
Fri Jul 1 15:22:47 GMT 2005


glebius     2005-07-01 15:22:47 UTC

  FreeBSD src repository

  Modified files:
    sys/net              ppp_tty.c 
  Log:
  Use m_uiotombuf() instead of own implementation. This is not just
  a cosmetic change. m_uiotombuf() produces a packet header mbuf, while
  original implementation did not. When kernel is compiled with MAC
  support, headerless mbuf will cause panic.
  
  Reported by:    Alexander Nikiforenko <asn rambler-co.ru>
  Approved by:    re (scottl)
  MFC After:      2 weeks
  
  Revision  Changes    Path
  1.66      +10 -25    src/sys/net/ppp_tty.c


More information about the cvs-src mailing list