cvs commit: src/sys/dev/lge if_lge.c

Pyun YongHyeon yongari at
Mon Mar 17 19:01:24 PDT 2008

yongari     2008-03-18 02:01:22 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/lge          if_lge.c 
  MFC if_lge.c rev 1.53 to RELENG_6:
    Plug memory leak in jumbo buffer allocation failure path.
    Patch in the PR was modified to check active jumbo buffers in use
    and other possible jumbo buffer leak.
    Jumbo buffer usage in lge(4) still wouldn't be reliable due to lack
    of driver lock in local jumbo buffer allocator. Either introduce
    a new lock to protect jumbo buffer or switch to UMA backed page
    allocator for jumbo frame is required.
    I've removed informational device_printf in lge_free_jumbo_mem as
    lge_dev member variable in softc does not exist on RELENG_6.
    if_printf can't be used as sc->lge_ifp could be NULL.
    PR:   kern/78072
  Revision  Changes    Path  +10 -4     src/sys/dev/lge/if_lge.c

More information about the cvs-src mailing list