Skip to content

Commit 102f04f

Browse files
committed
Fix condition
1 parent e5639d3 commit 102f04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/pf_ring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5848,7 +5848,7 @@ static int do_memory_mmap(struct vm_area_struct *vma, unsigned long start_off, u
58485848
unsigned long start;
58495849

58505850
/* we do not want to have this area swapped out, lock it */
5851-
#if(LINUX_VERSION_CODE < KERNEL_VERSION(6,3,0) && !(defined(REDHAT_PATCHED_KERNEL) && RHEL_MAJOR >= 9 && !defined(VM_LOCKED_MASK)))
5851+
#if(LINUX_VERSION_CODE < KERNEL_VERSION(6,3,0) && !(defined(REDHAT_PATCHED_KERNEL) && RHEL_MAJOR >= 9 && defined(VM_LOCKED_MASK)))
58525852
vma->vm_flags |= flags;
58535853
#else
58545854
vm_flags_set(vma, flags);

0 commit comments

Comments
 (0)