#
11139:bd894d2bdd7c |
|
25-Sep-2015 |
Andreas Hansson <andreas.hansson@arm.com> |
mem: Add PacketInfo to be used for packet probe points
This patch fixes a use-after-delete issue in the packet probe points by adding a PacketInfo struct to retain the key fields before passing the packet onwards. We want to probe the packet after it is successfully sent, but by that time the fields may be modified, and the packet may even be deleted.
Amazingly enough the issue has gone undetected for months, and only recently popped up in our regressions.
|