31 lines
723 B
Diff
31 lines
723 B
Diff
diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c
|
|
index f9f0f16..1f94967 100644
|
|
--- a/drivers/net/ppp/ppp_generic.c
|
|
+++ b/drivers/net/ppp/ppp_generic.c
|
|
@@ -55,6 +55,10 @@
|
|
#include <net/net_namespace.h>
|
|
#include <net/netns/generic.h>
|
|
|
|
+#if defined(CONFIG_CPE_FAST_PATH)
|
|
+#include <linux/jiffies.h>
|
|
+#endif
|
|
+
|
|
#define PPP_VERSION "2.4.2"
|
|
|
|
/*
|
|
@@ -3535,6 +3539,14 @@ ppp_connect_channel(struct channel *pch, int unit)
|
|
|
|
outl:
|
|
spin_unlock(&pch->upl);
|
|
+#if defined(CONFIG_CPE_FAST_PATH)
|
|
+ if ((ppp->dev) && (!ppp->closing)) {
|
|
+ rtnl_lock();
|
|
+ rtmsg_ifinfo(RTM_NEWLINK, ppp->dev, 0, GFP_KERNEL, 0, NULL);
|
|
+ rtnl_unlock();
|
|
+ }
|
|
+#endif
|
|
+
|
|
out:
|
|
mutex_unlock(&pn->all_ppp_mutex);
|
|
return ret;
|