]> git.proxmox.com Git - qemu.git/commit
virtio-net: broken RX filtering logic fixed
authorDmitry Fleytman <dfleytma@redhat.com>
Sun, 22 Sep 2013 15:09:13 +0000 (18:09 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 8 Nov 2013 16:32:34 +0000 (17:32 +0100)
commitcc386e96727442f5b67052d4e0a602f6f652ffe6
tree206791fe0055f9dc59be2a6893fa1f674826e4a5
parent1597591cca8a8fa20b8872937b859ec2aaccba6c
virtio-net: broken RX filtering logic fixed

Upon processing of VIRTIO_NET_CTRL_MAC_TABLE_SET command
multicast list overwrites unicast list in mac_table.
This leads to broken logic for both unicast and multicast RX filtering.

Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/net/virtio-net.c