commit d28112277f4c399526ab70620043fa490280d797
Author: Sepherosa Ziehau <[email protected]>
Date:   Mon Sep 23 09:34:17 2013 +0800

    em/emx: Fix attach error handling and media leakage in detach
    
    - Add missing ether_ifdetach() if reset fails.
      Reported-by: Johannes Hofmann <[email protected]>
    
    - Call ifmedia_removeall() on detach path, since these drivers add
      ifmedia themselves; move ifmedia_init() to the beginning of attach
      for this to work.

Summary of changes:
 sys/dev/netif/em/if_em.c   | 10 +++++++---
 sys/dev/netif/emx/if_emx.c |  6 ++++--
 2 files changed, 11 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d28112277f4c399526ab70620043fa490280d797


-- 
DragonFly BSD source repository

Reply via email to