[PATCH v2] frame-xchg: fix invalid read