diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2017-12-15 18:41:48 +0000 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-12-22 10:00:47 +0800 |
commit | 8f90bc2f8fbba3c98116e80afd537fb0ca90be2e (patch) | |
tree | 39239882bcdd1878fba52fe4e79942680065b839 /hw/net/eepro100.c | |
parent | a89a6b052abff87871800406bd3c598fcf406426 (diff) |
sungem: fix multicast filter CRC calculation
From the Linux sungem driver, we know that the multicast filter CRC is
implemented using ether_crc_le() which isn't the same as calling zlib's
crc32() function (the zlib implementation requires a complemented initial value
and also returns the complemented result).
Fix the multicast filter by simply using the new net_crc32_le() function.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/eepro100.c')
0 files changed, 0 insertions, 0 deletions