vhost: avoid pr_err on condition guest can trigger
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 24 Jun 2010 14:10:25 +0000 (17:10 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 16 Jul 2010 09:18:17 +0000 (12:18 +0300)
commit95c0ec6a97ae82d39a6e13fc01aa76861a4a76d0
treea581adc7aa2fdd2330790adb3e76b93b112c3ef4
parent1680e9063ea28099a1efa8ca11cee069cc7a9bc3
vhost: avoid pr_err on condition guest can trigger

Guest can trigger packet truncation by posting
a very short buffer and disabling buffer merging.
Convert pr_err to pr_debug to avoid log from filling
up when this happens.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c