From: Michael S. Tsirkin Date: Thu, 23 Oct 2014 21:22:11 +0000 (+0300) Subject: virtio_net: stricter short buffer length checks X-Git-Tag: omap-for-v3.19/fixes-rc1~129^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcff3162f3e0274a18648628ac8b5a36d2914b49;p=pandora-kernel.git virtio_net: stricter short buffer length checks Our buffer length check is not strict enough for mergeable buffers: buffer can still be shorter that header + address by 2 bytes. Fix that up. Signed-off-by: Michael S. Tsirkin Reviewed-by: Cornelia Huck Reviewed-by: Jason Wang --- Reading git-diff-tree failed