bond: Support null argument to bond_ref().
authorEthan Jackson <ethan@nicira.com>
Fri, 19 Jul 2013 19:59:51 +0000 (12:59 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 19 Jul 2013 20:02:59 +0000 (13:02 -0700)
commitbca0b3b4e2ec98193258e67720bc29c81be6cd6f
tree516d06684fac555bac0ab59918b319d82da16467
parent6d13e6dd6b73c9b00ac5943d8ec0ca7f9f822bda
bond: Support null argument to bond_ref().

This is consistent with the other ref functions, and was causing
segmentation faults in some test cases.

Reported-by: Mukesh Hira <mhira@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/bond.c