summaryrefslogtreecommitdiffstats
path: root/hw/net/e1000.c
diff options
context:
space:
mode:
authorLukas Straub2019-04-20 19:14:25 +0200
committerJason Wang2019-05-17 11:00:12 +0200
commit78e4f446d2569210a8558946b2321f9ff2ef47f6 (patch)
treefaef2cc48193872c0e85cd438160fba5c9d290d9 /hw/net/e1000.c
parentnet/slirp: fix the IPv6 prefix length error message (diff)
downloadqemu-78e4f446d2569210a8558946b2321f9ff2ef47f6.tar.gz
qemu-78e4f446d2569210a8558946b2321f9ff2ef47f6.tar.xz
qemu-78e4f446d2569210a8558946b2321f9ff2ef47f6.zip
net/colo-compare.c: Fix a crash in COLO Primary.
Because event_unhandled_count may be accessed concurrently, it needs to be protected by taking the lock. However the assert is outside the lock, probably causing it to read garbage and aborting Qemu erroneously. The Bug only happens when running Qemu in COLO mode. This Patch fixes the following bug: https://bugs.launchpad.net/qemu/+bug/1824622 Signed-off-by: Lukas Straub <lukasstraub2@web.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/e1000.c')
0 files changed, 0 insertions, 0 deletions