]> err.no Git - linux-2.6/commit
[DECNET]: Fix refcount
authorPatrick Caulfield <patrick@tykepenguin.com>
Wed, 29 Mar 2006 21:57:31 +0000 (13:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2006 21:57:31 +0000 (13:57 -0800)
commit6a57b2ee4506bb8a3d2f7ba2f62ff65ec56ba150
tree2e1f8d3b1f44aec97859175071c96659392f73dd
parentf3cab8a0b1a772dc8b055b7affa567a366627c9e
[DECNET]: Fix refcount

From: Patrick Caulfield <patrick@tykepenguin.com>

This patch fixes a bug in the reference counting for the default
DECnet device.

If the device is changed, then the new device had its refcount
decremented rather than the old one!

Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_dev.c