vdpa_sim_net: should not drop the multicast/broadcast packet
authorCindy Lu <lulu@redhat.com>
Wed, 14 Dec 2022 05:43:06 +0000 (13:43 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 28 Dec 2022 10:28:11 +0000 (05:28 -0500)
commit72455a1142527e607e1d69439f3ffa2ef6d09e26
tree91ecd1304272c14a132c1416f0fe7d0de2302634
parent0b7a04a30eef20e6b24926a45c0ce7906ae85bd6
vdpa_sim_net: should not drop the multicast/broadcast packet

In the receive_filter(), should not drop the packet with the
broadcast/multicast address. Add the check for this

Signed-off-by: Cindy Lu <lulu@redhat.com>
Message-Id: <20221214054306.24145-1-lulu@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vdpa/vdpa_sim/vdpa_sim_net.c