diff options
Diffstat (limited to 'net/netlink')
-rw-r--r-- | net/netlink/af_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 2fd8afac5f71..480184a857d2 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
@@ -435,7 +435,7 @@ static int netlink_create(struct net *net, struct socket *sock, int protocol) | |||
435 | return -EPROTONOSUPPORT; | 435 | return -EPROTONOSUPPORT; |
436 | 436 | ||
437 | netlink_lock_table(); | 437 | netlink_lock_table(); |
438 | #ifdef CONFIG_KMOD | 438 | #ifdef CONFIG_MODULES |
439 | if (!nl_table[protocol].registered) { | 439 | if (!nl_table[protocol].registered) { |
440 | netlink_unlock_table(); | 440 | netlink_unlock_table(); |
441 | request_module("net-pf-%d-proto-%d", PF_NETLINK, protocol); | 441 | request_module("net-pf-%d-proto-%d", PF_NETLINK, protocol); |