aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus/xenbus_xs.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-01-04 11:39:51 +0000
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-01-04 17:02:04 -0500
commit50bf73796e85ed6a061df6d8474f7cef7870df6a (patch)
tree27ccd8abb98723da4338075d2e69bc0e688efa5a /drivers/xen/xenbus/xenbus_xs.c
parentxen/xenbus: Reject replies with payload > XENSTORE_PAYLOAD_MAX. (diff)
downloadlinux-dev-50bf73796e85ed6a061df6d8474f7cef7870df6a.tar.xz
linux-dev-50bf73796e85ed6a061df6d8474f7cef7870df6a.zip
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>
Diffstat (limited to 'drivers/xen/xenbus/xenbus_xs.c')
0 files changed, 0 insertions, 0 deletions