From: we...@ucloud.cn Date: Fri, 30 Aug 2019 13:07:48 +0800 > From: wenxu <we...@ucloud.cn> > > For receive side the standby, primary and failover is the same one, > If the packet receive from standby or primary should can be deliver > to failover dev. > > For example: there are VF and virtio device failover together. > When live migration the VF detached and send/recv packet through > virtio device. When VF attached again some ingress traffic may > receive from virtio device for cache reason(TC flower offload in > sw mode). > > Signed-off-by: wenxu <we...@ucloud.cn>
I don't understand, the device logic guarding the device rewriting in this handler looks very much intentional. After your changes we have no logic at all, we just unconditionally always rewrite.