aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2017-09-18 14:42:11 -0500
committerHerbert Xu <[email protected]>2017-09-20 17:42:38 +0800
commit8f182f845d0fa26ecc18d3bdcc3d1077a0ea3a31 (patch)
treed8161aeaa48bc2f93de4eee69cfa9d535fbf5f18 /lib/netdev-notifier-error-inject.c
parentca04c823763e5b82c237cabe0c17f547ecdc6271 (diff)
crypto: x86/twofish - Fix RBP usage
Using RBP as a temporary register breaks frame pointer convention and breaks stack traces when unwinding from an interrupt in the crypto code. Use R13 instead of RBP. Both are callee-saved registers, so the substitution is straightforward. Reported-by: Eric Biggers <[email protected]> Reported-by: Peter Zijlstra <[email protected]> Tested-by: Eric Biggers <[email protected]> Acked-by: Eric Biggers <[email protected]> Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions