DragonFly BSD
DragonFly commits List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/netproto/atalk aarp.c ddp_output.c src/sys/vfs/nfs nfs_nqlease.c nfs_socket.c nfs_syscalls.c


From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Sep 2003 07:30:57 -0700 (PDT)

hmp         2003/09/03 07:30:57 PDT

  Modified files:
    sys/netproto/atalk   aarp.c ddp_output.c 
    sys/vfs/nfs          nfs_nqlease.c nfs_socket.c nfs_syscalls.c 
  Log:
  Check when M_PREPEND returns an empty mbuf.
  
  This is just toe-dipping.  There are so many instances like this
  across the source base that more work needs to be done on it.
  
  I have added /* XXX-MBUF */ comments in places where I could not
  add checks for empty mbufs; this is helpful for future work because
  it is a potential error point.
  
  It is better to put a comment than panic() messages because it can
  be used when the mbuf allocator is rewritten or is taught how to
  handle memory starvation situations.
  
  Revision  Changes    Path
  1.4       +1 -0      src/sys/netproto/atalk/aarp.c
  1.4       +2 -0      src/sys/netproto/atalk/ddp_output.c
  1.11      +4 -0      src/sys/vfs/nfs/nfs_nqlease.c
  1.10      +2 -0      src/sys/vfs/nfs/nfs_socket.c
  1.10      +2 -0      src/sys/vfs/nfs/nfs_syscalls.c




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