aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2022-08-09 10:55:44 -0700
committerJakub Kicinski <[email protected]>2022-08-10 22:53:25 -0700
commitd800a7b3577bfb783481b02865d8775a760212a7 (patch)
tree69bbc9081eb324017b05e80621123de8a7645751 /scripts/gdb/linux/utils.py
parent86b259f6f8880237899fbf4f940303b3987dffa9 (diff)
tls: rx: device: don't try to copy too much on detach
Another device offload bug, we use the length of the output skb as an indication of how much data to copy. But that skb is sized to offset + record length, and we start from offset. So we end up double-counting the offset which leads to skb_copy_bits() returning -EFAULT. Reported-by: Tariq Toukan <[email protected]> Fixes: 84c61fe1a75b ("tls: rx: do not use the standard strparser") Tested-by: Ran Rozenstein <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions