diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/xt_recent.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netfilter/xt_recent.c b/net/netfilter/xt_recent.c index 3db2d387cf52..1e657cf715c4 100644 --- a/net/netfilter/xt_recent.c +++ b/net/netfilter/xt_recent.c | |||
@@ -401,8 +401,7 @@ static int recent_mt_check(const struct xt_mtchk_param *par, | |||
401 | ret = -ENOMEM; | 401 | ret = -ENOMEM; |
402 | goto out; | 402 | goto out; |
403 | } | 403 | } |
404 | pde->uid = uid; | 404 | proc_set_user(pde, uid, gid); |
405 | pde->gid = gid; | ||
406 | #endif | 405 | #endif |
407 | spin_lock_bh(&recent_lock); | 406 | spin_lock_bh(&recent_lock); |
408 | list_add_tail(&t->list, &recent_net->tables); | 407 | list_add_tail(&t->list, &recent_net->tables); |