]> 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)
commita8532ed93e6c3563364e199d784cc03941463c0e
tree3c610f3332ca73c7f792251bfc19a56fb81c7974
parentb27fab2c8ae682c8c93fe76546e0ee9539fa7b37
vdpa_sim_net: should not drop the multicast/broadcast packet

[ Upstream commit 1f7e62a1d2eb0644bfe047109d1e00d9bd0910bc ]

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