ovs_add_dp() returned on_exit()'s status, so the caller's failure guard
could not detect an add-dp failure.

The local v7 candidate saves add-dp's return status, registers cleanup, and
returns the saved status. Both new tests then report "the datapath was not
created" if creation fails.

v7 is prepared locally and has not been sent.

pw-bot: cr
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to