]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
extensions: replace PDE_DATA
authorJeremy Sowden <jeremy@azazel.net>
Fri, 4 Feb 2022 13:26:42 +0000 (14:26 +0100)
committerJan Engelhardt <jengelh@inai.de>
Sat, 5 Feb 2022 17:14:19 +0000 (18:14 +0100)
commit966fa43ad0dee837aa3387c02f72b1b7424a6f93
tree67a8c2cc91ef3d830effceda5b0cd39e09da21f5
parent11b61a888630179f86f39100c95861da09b2424d
extensions: replace PDE_DATA

The `PDE_DATA` function for retrieving private data from a procfs inode
has been replaced by `pde_data` in 5.17.  Replace all instances of the
former with the latter, but add a macro to xtables_compat.h in order to
preserve compatibility with older kernels.

Link: https://lore.kernel.org/lkml/20211124081956.87711-1-songmuchun@bytedance.com/
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
extensions/compat_xtables.h
extensions/pknock/xt_pknock.c
extensions/xt_DNETMAP.c
extensions/xt_condition.c
extensions/xt_quota2.c