net/9p: Fix kernel crash with msize 512K
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 17 Aug 2011 16:56:04 +0000 (16:56 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:22 +0000 (11:40 -0700)
commit8926487ad88b00a9b6677f866df787dea7b3471b
treec49509d0071647326233985394474a8365083b3d
parenta111278ea956e42e2d1ac4b4f04a2c71d322235b
net/9p: Fix kernel crash with msize 512K

commit b49d8b5d7007a673796f3f99688b46931293873e upstream.

With msize equal to 512K (PAGE_SIZE * VIRTQUEUE_NUM), we hit multiple
crashes. This patch fix those.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/9p/trans_virtio.c