virtio: fix mbuf headroom size check
authorHuawei Xie <huawei.xie@intel.com>
Tue, 26 Apr 2016 23:27:55 +0000 (07:27 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 10 May 2016 17:53:28 +0000 (10:53 -0700)
commitfac0b224c822ee2ea0ee528ce68ab05a2c8be2e7
tree241241725f9d16016a47b30aabd563c56a4da142
parent2c0eb46f51b3d1364379243b5c9accb3ba49725d
virtio: fix mbuf headroom size check

check merge-able header as it is supported.
previously we don't support merge-able feature, so non merge-able
header is checked.

Fixes: 13ce5e7eb94f ("virtio: mergeable buffers")

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/virtio/virtio_ethdev.c