Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/nfs



On Sun, May 12, 2002 at 03:53:00PM +0300, Simon Burge wrote:

 > Module Name: syssrc
 > Committed By:        simonb
 > Date:                Sun May 12 12:52:59 UTC 2002
 > 
 > Modified Files:
 >      syssrc/sys/nfs: nfs_bootdhcp.c
 > 
 > Log Message:
 > In bootpcheck(), make sure we m_pullup() all the of bootp header that we
 >  actually examine.

Ah, cool!  Thanks for looking into this, Simon!

Hm, I wonder what happens if we end up with a bootp (or dhcp) reply
which is longer than the space available in an mbuf.  Perhaps an m_copydata
into a buffer allocated on the stack might be better?

-- 
        -- Jason R. Thorpe <thorpej%wasabisystems.com@localhost>



Home | Main Index | Thread Index | Old Index