diff options
author | cognet <cognet@FreeBSD.org> | 2007-11-27 22:12:05 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2007-11-27 22:12:05 +0000 |
commit | 8ee51043418b2b11413644c7a7057901d8c70caf (patch) | |
tree | 36d558d0fbb2e53cbf916acdb9252911d47fc2ef /lib/libgssapi/gss_accept_sec_context.c | |
parent | 3a88ba0aa7ff88fa2e8f84cb75a123567a99dd9f (diff) | |
download | FreeBSD-src-8ee51043418b2b11413644c7a7057901d8c70caf.zip FreeBSD-src-8ee51043418b2b11413644c7a7057901d8c70caf.tar.gz |
In atomic_fetchadd_32(), do not blindly increase the value of %3.
It should just contain the value we want to add, as if we're interrupted
between the add and the str, we will restart from the beginning. Just use
a register we can scratch instead.
MFC After: 1 week
Diffstat (limited to 'lib/libgssapi/gss_accept_sec_context.c')
0 files changed, 0 insertions, 0 deletions