]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xenbus: maximum buffer size is XENSTORE_PAYLOAD_MAX
authorIan Campbell <ian.campbell@citrix.com>
Wed, 4 Jan 2012 11:39:51 +0000 (11:39 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 2 Feb 2012 19:22:38 +0000 (14:22 -0500)
commit643254765a3ee0765b466e086060f9d3bc7043c7
tree70aa7d2e2522b3e745a934866336f918816a490a
parentf6029176be6a6bd498b3cb3f7c1231fbe68a7f45
xenbus: maximum buffer size is XENSTORE_PAYLOAD_MAX

Use this now that it is defined even though it happens to be == PAGE_SIZE.

The code which takes requests from userspace already validates against the size
of this buffer so no further checks are required to ensure that userspace
requests comply with the protocol in this respect.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Haogang Chen <haogangchen@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xenbus/xenbus_dev_frontend.c