Re: [systemd-devel] [PATCH] domain: fix a BUG_ON() when kdbus_domain_new() fails

2014-06-03 Thread Kay Sievers
On Mon, Jun 2, 2014 at 5:57 PM, Djalal Harouni tix...@opendz.org wrote: Currently just running: test/test-kdbus will trigger the BUG_ON() appended at the bottom. This is due to the test in check_domain_make() where we try to register the same domain twice line: 297, hence kdbus_domain_new()

Re: [systemd-devel] [PATCH] domain: fix a BUG_ON() when kdbus_domain_new() fails

2014-06-03 Thread Djalal Harouni
On Tue, Jun 03, 2014 at 12:55:54PM +0200, Kay Sievers wrote: On Mon, Jun 2, 2014 at 5:57 PM, Djalal Harouni tix...@opendz.org wrote: Currently just running: test/test-kdbus will trigger the BUG_ON() appended at the bottom. This is due to the test in check_domain_make() where we try to

[systemd-devel] [PATCH] domain: fix a BUG_ON() when kdbus_domain_new() fails

2014-06-02 Thread Djalal Harouni
Currently just running: test/test-kdbus will trigger the BUG_ON() appended at the bottom. This is due to the test in check_domain_make() where we try to register the same domain twice line: 297, hence kdbus_domain_new() fails with -EEXIST at line domain.c:289 Later on error path we clear the