diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-17 11:58:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-17 11:58:52 -0400 |
commit | b225ee5bed70254a100896c473e6dd8c2be45c18 (patch) | |
tree | 2f044d5898d15edcff858f624618c788d5b58760 /net/netfilter | |
parent | 2e532d68a2b3e2aa6b19731501222069735c741c (diff) | |
parent | 95a5afca4a8d2e1cb77e1d4bc6ff9f718dc32f7a (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
net: Remove CONFIG_KMOD from net/ (towards removing CONFIG_KMOD entirely)
ipv4: Add a missing rcu_assign_pointer() in routing cache.
[netdrvr] ibmtr: PCMCIA IBMTR is ok on 64bit
xen-netfront: Avoid unaligned accesses to IP header
lmc: copy_*_user under spinlock
[netdrvr] myri10ge, ixgbe: remove broken select INTEL_IOATDMA
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/nf_conntrack_netlink.c | 2 | ||||
-rw-r--r-- | net/netfilter/nfnetlink.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c index 08e82d64eb6f..2e4ad9671e19 100644 --- a/net/netfilter/nf_conntrack_netlink.c +++ b/net/netfilter/nf_conntrack_netlink.c | |||
@@ -822,7 +822,7 @@ ctnetlink_parse_nat_setup(struct nf_conn *ct, | |||
822 | 822 | ||
823 | parse_nat_setup = rcu_dereference(nfnetlink_parse_nat_setup_hook); | 823 | parse_nat_setup = rcu_dereference(nfnetlink_parse_nat_setup_hook); |
824 | if (!parse_nat_setup) { | 824 | if (!parse_nat_setup) { |
825 | #ifdef CONFIG_KMOD | 825 | #ifdef CONFIG_MODULES |
826 | rcu_read_unlock(); | 826 | rcu_read_unlock(); |
827 | nfnl_unlock(); | 827 | nfnl_unlock(); |
828 | if (request_module("nf-nat-ipv4") < 0) { | 828 | if (request_module("nf-nat-ipv4") < 0) { |
diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c index 4739f9f961d8..9c0ba17a1ddb 100644 --- a/net/netfilter/nfnetlink.c +++ b/net/netfilter/nfnetlink.c | |||
@@ -137,7 +137,7 @@ static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) | |||
137 | replay: | 137 | replay: |
138 | ss = nfnetlink_get_subsys(type); | 138 | ss = nfnetlink_get_subsys(type); |
139 | if (!ss) { | 139 | if (!ss) { |
140 | #ifdef CONFIG_KMOD | 140 | #ifdef CONFIG_MODULES |
141 | nfnl_unlock(); | 141 | nfnl_unlock(); |
142 | request_module("nfnetlink-subsys-%d", NFNL_SUBSYS_ID(type)); | 142 | request_module("nfnetlink-subsys-%d", NFNL_SUBSYS_ID(type)); |
143 | nfnl_lock(); | 143 | nfnl_lock(); |