Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

netfilter: xtables: add missing const qualifier to xt_tgchk_param

When entryinfo was a standalone parameter to functions, it used to be
"const void *". Put the const back in.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jan Engelhardt and committed by
David S. Miller
f79fca55 b54ad409

+1 -1
+1 -1
include/linux/netfilter/x_tables.h
··· 251 251 */ 252 252 struct xt_tgchk_param { 253 253 const char *table; 254 - void *entryinfo; 254 + const void *entryinfo; 255 255 const struct xt_target *target; 256 256 void *targinfo; 257 257 unsigned int hook_mask;