xen-pciback: rate limit error messages from xen_pcibk_enable_msi{,x}()
authorJan Beulich <jbeulich@suse.com>
Wed, 6 Feb 2013 15:30:38 +0000 (10:30 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2013 17:21:09 +0000 (09:21 -0800)
commitfef9589e069e0aafec0f0b378e95baa939bd1272
tree74808614109d18afe2379cd0509283fdedcada1f
parent2cc7be2ed22d47ca2bbb3d85ec61ae66d6d78d77
xen-pciback: rate limit error messages from xen_pcibk_enable_msi{,x}()

commit 51ac8893a7a51b196501164e645583bf78138699 upstream.

... as being guest triggerable (e.g. by invoking
XEN_PCI_OP_enable_msi{,x} on a device not being MSI/MSI-X capable).

This is CVE-2013-0231 / XSA-43.

Also make the two messages uniform in both their wording and severity.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/xen/xen-pciback/pciback_ops.c