rwatson     2006-02-14 21:11:19 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              if_ef.c 
  Log:
  Merge if_ef.c:1.38 from HEAD to RELENG_6:
  
    Check the right ifnet pointer to see if if_alloc() failed or not in
    ef_clone(); we were testing the original ifnet, not the one allocated.
  
    When aborting ef_clone() due to if_alloc() failing, free the allocated
    efnet structure rather than leaking it.
  
    Noticed by:     Coverity Prevent analysis tool
  
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.34.2.3  +3 -1      src/sys/net/if_ef.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to