summaryrefslogtreecommitdiff
path: root/net/ethtool
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-10-15 01:02:09 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-14 16:04:13 -0700
commite6037a753e8e9a4146f7d94c32eb30a6717c9c70 (patch)
treeaa52bc0517a81075ee080f636cec402b7111a996 /net/ethtool
parent6448cbf662c7858c0d9eb0b135962bedd6d0b9a0 (diff)
powerpc32: don't adjust unmoved stack pointer in csum_partial_copy_generic() epilogue
A recent change to the checksum code removed usage of some extra arguments, alongside with storage on the stack for those, and the stack pointer no longer needed to be adjusted in the function prologue. But a left over subtraction wasn't removed in the function epilogue, causing the function to return with the stack pointer moved 16 bytes away from where it should have. This corrupted local state and lead to weird crashes. This simply removes the leftover instruction from the epilogue. Fixes: 70d65cd555c5 ("ppc: propagate the calling conventions change down to csum_partial_copy_generic()") Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/ethtool')
0 files changed, 0 insertions, 0 deletions