diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2018-02-18 15:24:53 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-02-23 12:33:50 +0100 |
commit | 14482e0de6b99c90b6d72398515ffaa7eb208be4 (patch) | |
tree | b00cf07c5423ba5dfb8a16ec98257b36c37a5375 /patches | |
parent | 3b0d02e17c0c063f3893d7fcb0caa66954a75c8c (diff) |
backport: update genl_dump_check_consistent() backport
The genl_dump_check_consistent() function was changed in v4.15 to use
only two arguments. The family is not needed anymore, because we were
erroneously subtracting the header size and that was fixed in v4.15.
Since the family was only used to check the header size, we can create
a dummy with hdrsize = 0, which will allow us to call the old version
of the function. There is a good side-effect to doing this: the bug
is going to be fixed, because with hdrsize = 0 we will not subtract
anything and it will have the same effect as the fix.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches')
0 files changed, 0 insertions, 0 deletions