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

Hiten Pandya hmp at crater.dragonflybsd.org
Wed Sep 3 07:31:23 PDT 2003


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






More information about the Commits mailing list