]> err.no Git - linux-2.6/commit
[PATCH] chelsio: free_netdev
authorStephen Hemminger <shemminger@osdl.org>
Fri, 17 Nov 2006 19:25:23 +0000 (11:25 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:16:37 +0000 (00:16 -0500)
commite487647abbe66390b99f9a32ede4688b255282dd
tree861f55139902c59218372f1cf69b3b0d752c9d6e
parentbac7e8746ce562556b7bd750c7652154483b15e2
[PATCH] chelsio: free_netdev

Network devices need to be free'd with free_netdev() not kfree()
otherwise the kernel will panic if an application has /sys/class/net/ethX/value
open and reads it.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/chelsio/cxgb2.c