]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit6ba128524e75f3092798327d9a8c10e91d1c344a
treeb5900762ddf2a5d03ed31da629b726c6fd6a710f
parentd7290181956b6931b6471253623b990d906fc37e
[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