Re: [Xen-devel] [PATCH] xenbus: don't BUG() on user mode induced condition

2016-08-22 Thread Sylvain Munaut
Hi Jan, > See https://patchwork.kernel.org/patch/9281193/. Thanks for the pointer ! I had checked the kernel git tree for a potential fix, but didn't think of patchwork. Cheers, Sylvain Munaut ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [PATCH] xenbus: don't BUG() on user mode induced condition

2016-08-21 Thread Jan Beulich
>>> On 21.08.16 at 21:36, wrote: >> --- 4.7-rc6-xen.orig/drivers/xen/xenbus/xenbus_dev_frontend.c >> +++ 4.7-rc6-xen/drivers/xen/xenbus/xenbus_dev_frontend.c >> @@ -316,11 +316,18 @@ static int xenbus_write_transaction(unsi >> rc = -ENOMEM; >> goto o

Re: [Xen-devel] [PATCH] xenbus: don't BUG() on user mode induced condition

2016-08-21 Thread Sylvain Munaut
Hi, >> I'm trying to find out why just doing "xenstore-ls" doesn't work on my >> 4.4.20 kernel and when stracing it, I see it doing : > > That looks like the same brokeness I reported earlier: > https://lists.xenproject.org/archives/html/xen-devel/2016-08/msg02496.html > Luckily I'm not alone with

Re: [Xen-devel] [PATCH] xenbus: don't BUG() on user mode induced condition

2016-08-21 Thread Christoph Moench-Tegeder
## Sylvain Munaut (s.mun...@whatever-company.com): > I'm trying to find out why just doing "xenstore-ls" doesn't work on my > 4.4.20 kernel and when stracing it, I see it doing : That looks like the same brokeness I reported earlier: https://lists.xenproject.org/archives/html/xen-devel/2016-08/ms

Re: [Xen-devel] [PATCH] xenbus: don't BUG() on user mode induced condition

2016-08-21 Thread Sylvain Munaut
Hi, > --- 4.7-rc6-xen.orig/drivers/xen/xenbus/xenbus_dev_frontend.c > +++ 4.7-rc6-xen/drivers/xen/xenbus/xenbus_dev_frontend.c > @@ -316,11 +316,18 @@ static int xenbus_write_transaction(unsi > rc = -ENOMEM; > goto out; > } > +

Re: [Xen-devel] [PATCH] xenbus: don't BUG() on user mode induced condition

2016-07-07 Thread David Vrabel
On 07/07/16 08:23, Jan Beulich wrote: > Inability to locate a user mode specified transaction ID should not > lead to a kernel crash. For other than XS_TRANSACTION_START also > don't issue anything to xenbus if the specified ID doesn't match that > of any active transaction. Applied to for-linus-4

[Xen-devel] [PATCH] xenbus: don't BUG() on user mode induced condition

2016-07-07 Thread Jan Beulich
Inability to locate a user mode specified transaction ID should not lead to a kernel crash. For other than XS_TRANSACTION_START also don't issue anything to xenbus if the specified ID doesn't match that of any active transaction. Signed-off-by: Jan Beulich --- drivers/xen/xenbus/xenbus_dev_front