e1000: Fixing the packet address filtering procedure
commit4aeea330f022f45d0dabff6090ecbb98755c2116
authorLeonid Bloch <leonid.bloch@ravellosystems.com>
Wed, 11 Nov 2015 13:52:45 +0000 (11 15:52 +0200)
committerJason Wang <jasowang@redhat.com>
Thu, 12 Nov 2015 07:26:54 +0000 (12 15:26 +0800)
treec434b0606d3aa2df86a7bcab2abc589a079025f8
parent45e93764711484440e56f580f233009bb3da18bc
e1000: Fixing the packet address filtering procedure

Previously, if promiscuous unicast was enabled, a packet was received
straight away, even if it was a multicast or a broadcast packet. This
patch fixes that behavior, while making the filtering procedure a bit
more human-readable.

Signed-off-by: Leonid Bloch <leonid.bloch@ravellosystems.com>
Signed-off-by: Dmitry Fleytman <dmitry.fleytman@ravellosystems.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000.c