Loading drivers/net/pppox.c +8 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ #include <linux/ppp_defs.h> #include <linux/if_ppp.h> #include <linux/ppp_channel.h> #include <linux/kmod.h> #include <net/sock.h> Loading Loading @@ -114,6 +115,13 @@ static int pppox_create(struct socket *sock, int protocol) goto out; rc = -EPROTONOSUPPORT; #ifdef CONFIG_KMOD if (!pppox_protos[protocol]) { char buffer[32]; sprintf(buffer, "pppox-proto-%d", protocol); request_module(buffer); } #endif if (!pppox_protos[protocol] || !try_module_get(pppox_protos[protocol]->owner)) goto out; Loading Loading
drivers/net/pppox.c +8 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ #include <linux/ppp_defs.h> #include <linux/if_ppp.h> #include <linux/ppp_channel.h> #include <linux/kmod.h> #include <net/sock.h> Loading Loading @@ -114,6 +115,13 @@ static int pppox_create(struct socket *sock, int protocol) goto out; rc = -EPROTONOSUPPORT; #ifdef CONFIG_KMOD if (!pppox_protos[protocol]) { char buffer[32]; sprintf(buffer, "pppox-proto-%d", protocol); request_module(buffer); } #endif if (!pppox_protos[protocol] || !try_module_get(pppox_protos[protocol]->owner)) goto out; Loading