]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: bcm: fix up network device reference counting
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Oct 2010 16:54:23 +0000 (09:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Oct 2010 16:54:23 +0000 (09:54 -0700)
commit8bfb2abd4ac47b8b8d2f3cb7886c11801b6bc22b
tree721e181ae347016989e52df2331998835a82aeac
parent79c0c2e31efd9c9bb6c564f17bb9b5178bec9979
Staging: bcm: fix up network device reference counting

The way network devices are reference counted does not include poking
around in the reference count itself.  This breaks when the reference
count is changed to be a different type.  Fix the driver to do the
proper function calls instead.

Cc: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/bcm/Bcmnet.c