]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:24:31 +0000 (07:24 +0100)
commit3f4b05ea78935d5eb6cda35bb2c19e64c55e48b2
tree3c610f3332ca73c7f792251bfc19a56fb81c7974
parent293094946e2b29afe3fd74e48d388d716a7ef0d0
vdpa_sim_net: should not drop the multicast/broadcast packet

[ Upstream commit 72455a1142527e607e1d69439f3ffa2ef6d09e26 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/vdpa/vdpa_sim/vdpa_sim_net.c