Browse Source

MT#55283 kernel module: compile fix for RHEL 9.x

closes #1539

Change-Id: I85b97dd316c2f6c4fab2c1fc879058eadff92305
pull/1546/head
Richard Fuchs 3 years ago
parent
commit
1add191b84
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      kernel-module/xt_RTPENGINE.c

+ 3
- 0
kernel-module/xt_RTPENGINE.c View File

@ -157,6 +157,9 @@ MODULE_IMPORT_NS(CRYPTO_INTERNAL);
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0)
#define PDE_DATA(i) (PDE(i)->data)
#elif defined(RHEL_RELEASE_CODE) && LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) && \
RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9,1)
#define PDE_DATA(i) pde_data(i)
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0)
#define PDE_DATA(i) pde_data(i)
#endif


Loading…
Cancel
Save