diff options
author | Ethan Jackson <ethan@nicira.com> | 2013-06-18 16:48:31 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2013-06-27 18:23:40 -0700 |
commit | 03366a2d585a6917d7d94c79073e1e615d8d8025 (patch) | |
tree | 5d9023448751cf4fb3d5abae7bc829fd7d084540 /lib/bond.h | |
parent | 91779071abffe3b6d6243378ff06a179bf39d69a (diff) |
bond: Reference count 'struct bond'.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/bond.h')
-rw-r--r-- | lib/bond.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -61,7 +61,8 @@ void bond_init(void); /* Basics. */ struct bond *bond_create(const struct bond_settings *); -void bond_destroy(struct bond *); +void bond_unref(struct bond *); +struct bond *bond_ref(const struct bond *); bool bond_reconfigure(struct bond *, const struct bond_settings *); void bond_slave_register(struct bond *, void *slave_, struct netdev *); |