net: fix qemu_announce_self not emitting packets
commit45f4e4be096950baaa8f87e01d39e19a4f3cdaef
authorPeter Lieven <pl@kamp.de>
Thu, 9 Jun 2016 09:39:27 +0000 (9 11:39 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 5 Aug 2016 18:45:18 +0000 (5 13:45 -0500)
treead4ca7d394761d53e602eb0c380e4ef5ffd89784
parentd1911a6fa798555ed1500ee75245882a76c0c948
net: fix qemu_announce_self not emitting packets

commit fefe2a78 accidently dropped the code path for injecting
raw packets. This feature is needed for sending gratuitous ARPs
after an incoming migration has completed. The result is increased
network downtime for vservers where the network card is not virtio-net
with the VIRTIO_NET_F_GUEST_ANNOUNCE feature.

Fixes: fefe2a78abde932e0f340b21bded2c86def1d242
Cc: qemu-stable@nongnu.org
Cc: hongyang.yang@easystack.cn
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Jason Wang <jasowang@redhat.com>
(cherry picked from commit ca1ee3d6b546e841a1b9db413eb8fa09f13a061b)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
net/net.c