Browse Source

TT#14008 update for kernels >= 5.17

The macro PDA_DATA() has been replaced by the inline function pda_data()

closes #1448

Change-Id: I0d611011879a470a58a4339f05f05981428793bb
pull/1457/head
Richard Fuchs 4 years ago
parent
commit
d172f20bf1
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      kernel-module/xt_RTPENGINE.c

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

@ -157,6 +157,8 @@ MODULE_IMPORT_NS(CRYPTO_INTERNAL);
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0)
#define PDE_DATA(i) (PDE(i)->data)
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0)
#define PDE_DATA(i) pda_data(i)
#endif


Loading…
Cancel
Save