diff --git a/linux-ramdump-parser-v2/ramdump.py b/linux-ramdump-parser-v2/ramdump.py index fba4cbc0b846b638c8696c282a341a68d83e7a3b..3c0e8bb37a4b894e2b6c76fc2514c23326534602 100644 --- a/linux-ramdump-parser-v2/ramdump.py +++ b/linux-ramdump-parser-v2/ramdump.py @@ -1249,7 +1249,7 @@ class RamDump(): list_offset = self.field_offset('struct module', 'list') name_offset = self.field_offset('struct module', 'name') - if self.kernel_version > (4, 4, 0): + if self.kernel_version > (4, 9, 0): module_core_offset = self.field_offset('struct module', 'core_layout.base') else: module_core_offset = self.field_offset('struct module', 'module_core')