]> bbs.cooldavid.org Git - net-next-2.6.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)
commiteebfc6055aba312f8b620a58fe1c23471cdcd149
tree721e181ae347016989e52df2331998835a82aeac
parentbceadddd92ceb4fd51e5e16c4f6699d8eb2e5604
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