]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
svcrdma: Verify read-list fits within RPCSVC_MAXPAGES
authorTom Tucker <tom@opengridcomputing.com>
Tue, 13 May 2008 14:16:05 +0000 (09:16 -0500)
committerTom Tucker <tom@opengridcomputing.com>
Mon, 19 May 2008 12:34:02 +0000 (07:34 -0500)
commita6f911c04e20b98feb4b33d3aba2976851977d6a
tree54a34d7007ca8d1d39f55396e2d084f6f9310e91
parent008fdbc57164b0ac237ad6ee2766944f02ac9c28
svcrdma: Verify read-list fits within RPCSVC_MAXPAGES

A RDMA read-list cannot contain more elements than RPCSVC_MAXPAGES or
it will overflow the DTO context. Verify this when processing the
protocol header.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c