• Stephen Hemminger's avatar
    [PATCH] sb1000 driver bugs · b1871948
    Stephen Hemminger authored
    Inspecting the sb1000 driver showed some interesting bugs:
    	- net device pointer is used before the device is allocated; gcc
    	  does catch this.
    	- unregister is called even though device not registered successfully
    	- net device is not freed on remove.
    
    Compiles but don't have hardware to test.  Don't know how it ever worked though.
    b1871948
sb1000.c 32.2 KB