[NETFILTER]: Replate direct proc_fops assignment with proc_create call.
authorDenis V. Lunev <den@openvz.org>
Thu, 27 Mar 2008 23:55:53 +0000 (16:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Mar 2008 23:55:53 +0000 (16:55 -0700)
commit8eeee8b152ae6bbe181518efaf62ba8e9c613693
treeb5900762ddf2a5d03ed31da629b726c6fd6a710f
parent920fc941a9617f95ccb283037fe6f8a38d95bb69
[NETFILTER]: Replate direct proc_fops assignment with proc_create call.

This elliminates infamous race during module loading when one could lookup
proc entry without proc_fops assigned.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_queue.c
net/ipv4/netfilter/ipt_CLUSTERIP.c
net/ipv4/netfilter/ipt_recent.c
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
net/ipv6/netfilter/ip6_queue.c
net/netfilter/nf_conntrack_standalone.c
net/netfilter/nf_log.c
net/netfilter/nf_queue.c
net/netfilter/nfnetlink_log.c
net/netfilter/nfnetlink_queue.c
net/netfilter/xt_hashlimit.c