Explorar o código

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>
Jan Engelhardt %!s(int64=16) %!d(string=hai) anos
pai
achega
f79fca55f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/linux/netfilter/x_tables.h

+ 1 - 1
include/linux/netfilter/x_tables.h

@@ -251,7 +251,7 @@ struct xt_target_param {
  */
 struct xt_tgchk_param {
 	const char *table;
-	void *entryinfo;
+	const void *entryinfo;
 	const struct xt_target *target;
 	void *targinfo;
 	unsigned int hook_mask;