commit | 7e8158b341b2b043047b6f570c343fd9b0efd9c9 | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven.eckelmann@gmx.de> | Sat Sep 18 21:01:21 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Sep 20 16:29:50 2010 -0700 |
tree | 32f125c87fafe2a5b25f436b307e5950a44b4530 | |
parent | 399fb5b445370ddcc93221e339d02736f55b9bb8 [diff] |
Staging: batman-adv: Track references of batman_if in set_primary_if set_primary_if exchanges the current primary interfaces with a new one. This is a new reference and thus we have to count it and decrease the count of the old primary interface. Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>