Message ID | 50C4730D.2080401@guap.ru |
---|---|
State | Not Applicable |
Headers | show |
============= diff --git a/net/netfilter/xt_recent.c b/net/netfilter/xt_recent.c index d2ff15a..0fc5c32 100644 --- a/net/netfilter/xt_recent.c +++ b/net/netfilter/xt_recent.c @@ -75,6 +75,9 @@ struct recent_entry { struct recent_table { struct list_head list; char name[XT_RECENT_NAME_LEN]; +#ifdef CONFIG_PROC_FS + struct proc_dir_entry *pe; +#endif unsigned int refcnt; unsigned int entries; struct list_head lru_list; @@ -375,6 +378,7 @@ static int recent_mt_check(const struct xt_mtchk_param *par) } pde->uid = ip_list_uid; pde->gid = ip_list_gid; + t->pe = pde; #endif spin_lock_bh(&recent_lock);