diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-03-07 11:01:09 +0100 |
---|---|---|
committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-03-08 12:43:05 +0100 |
commit | 70e5043ba85eae199b232e39921abd706b5c1fa4 (patch) | |
tree | 53f026ec1b771e1ebb6c5220c6e6e2561d967658 /net/unix/af_unix.c | |
parent | fc858ddf9c68696537cec530d2d48bf6ed06ea92 (diff) |
drm/xe/userptr: Fix an incorrect assert
The assert incorrectly checks the total length processed which
can in fact be greater than the number of pages. Fix.
Fixes: ea3e66d280ce ("drm/xe/hmm: Don't dereference struct page pointers without notifier lock")
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250307100109.21397-1-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions