commit | 9e643ea17257432c6079a8644401271a2a80619a | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Mon Aug 27 12:59:14 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 31 16:14:58 2018 +0200 |
tree | 2596f8403640546ee045a3c59a10bbef0bdeff24 | |
parent | dd51e533679799969f2efdb2616815b90cbfe474 [diff] |
BUG/MEDIUM: hlua: Don't call RESET_SAFE_LJMP if SET_SAFE_LJMP returns 0. If SET_SAFE_LJMP returns 0, the spinlock is already unlocked, and lua_atpanic is already set back to hlua_panic_safe, so there's no need to call RESET_SAFE_LJMP. This should be MFC'd into 1.8.