vhost: rework RARP packet injection
authorDavid Marchand <david.marchand@redhat.com>
Wed, 15 Sep 2021 14:54:47 +0000 (16:54 +0200)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 28 Sep 2021 19:21:07 +0000 (21:21 +0200)
commit5ac9d766b535189301df3452368580ffa0d6ff97
treed4ed7752d07c0b8e0b8b6b7bd6720b622f960bf7
parentf5d4c819376b9a59e0f272e366fef0cd1fe9e4f2
vhost: rework RARP packet injection

Caught by code review, this copy is unnecessary.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
lib/vhost/virtio_net.c