mem: Fix memory allocation bug in deferred snoop handling
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 17 Dec 2015 22:07:11 +0000 (17:07 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 17 Dec 2015 22:07:11 +0000 (17:07 -0500)
commit97887eb6dc9e548c9b5719727fd4783ef157917c
tree65b928581be0e6135b1c7b3ca1ffecf63059e3b2
parent08754488a30da178effd0414f198462bf268d715
mem: Fix memory allocation bug in deferred snoop handling

This patch fixes a corner case in the deferred snoop handling, where
requests ended up being used by multiple packets with different
lifetimes, and inadvertently got deleted while they were still in use.
src/mem/cache/cache.cc
src/mem/cache/mshr.cc