cvs commit: src/sys/dev/cxgb cxgb_sge.c src/sys/dev/cxgb/sys mvec.h uipc_mvec.c

Kip Macy kmacy at FreeBSD.org
Tue Jan 15 16:28:30 PST 2008


kmacy       2008-01-16 00:28:30 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/cxgb         cxgb_sge.c 
    sys/dev/cxgb/sys     mvec.h uipc_mvec.c 
  Log:
  Fix mbuf leak caused by freeing packet zone clusters but not their associated mbufs
  
  - Track packet zone mbufs separately from other mbufs
  - free packet zone buffers via m_free rather than trying to manage the refcount
    as with clusters - its refcount and management seems to be "special"
  
  Revision  Changes    Path
  1.44      +7 -3      src/sys/dev/cxgb/cxgb_sge.c
  1.13      +11 -3     src/sys/dev/cxgb/sys/mvec.h
  1.23      +27 -23    src/sys/dev/cxgb/sys/uipc_mvec.c


More information about the cvs-src mailing list