[PATCH 18/43] bonding: fix a potential double-unregister