|
@@ -925,10 +925,10 @@ static int get_info(struct net *net, void __user *user, int *len, int compat)
|
|
if (t && !IS_ERR(t)) {
|
|
if (t && !IS_ERR(t)) {
|
|
struct arpt_getinfo info;
|
|
struct arpt_getinfo info;
|
|
const struct xt_table_info *private = t->private;
|
|
const struct xt_table_info *private = t->private;
|
|
-
|
|
|
|
#ifdef CONFIG_COMPAT
|
|
#ifdef CONFIG_COMPAT
|
|
|
|
+ struct xt_table_info tmp;
|
|
|
|
+
|
|
if (compat) {
|
|
if (compat) {
|
|
- struct xt_table_info tmp;
|
|
|
|
ret = compat_table_info(private, &tmp);
|
|
ret = compat_table_info(private, &tmp);
|
|
xt_compat_flush_offsets(NFPROTO_ARP);
|
|
xt_compat_flush_offsets(NFPROTO_ARP);
|
|
private = &tmp;
|
|
private = &tmp;
|