aboutsummaryrefslogtreecommitdiff
path: root/scripts/tracing/draw_functrace.py
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2024-04-25 09:39:32 +0100
committerJakub Kicinski <[email protected]>2024-04-26 12:35:57 -0700
commit6a30653b604aaad1bf0f2e74b068ceb8b6fc7aea (patch)
tree5629b32d21fdcd223d084083e9fe4f02a0423878 /scripts/tracing/draw_functrace.py
parent42f853b42899d9b445763b55c3c8adc72be0f0e1 (diff)
Fix a potential infinite loop in extract_user_to_sg()
Fix extract_user_to_sg() so that it will break out of the loop if iov_iter_extract_pages() returns 0 rather than looping around forever. [Note that I've included two fixes lines as the function got moved to a different file and renamed] Fixes: 85dd2c8ff368 ("netfs: Add a function to extract a UBUF or IOVEC into a BVEC iterator") Fixes: f5f82cd18732 ("Move netfs_extract_iter_to_sg() to lib/scatterlist.c") Signed-off-by: David Howells <[email protected]> cc: Jeff Layton <[email protected]> cc: Steve French <[email protected]> cc: Herbert Xu <[email protected]> cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/tracing/draw_functrace.py')
0 files changed, 0 insertions, 0 deletions