kernel: add a patch to fix crashes on pppoe disconnect/reconnect
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47026
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/drivers/net/ppp/pppoe.c
|
||||
+++ b/drivers/net/ppp/pppoe.c
|
||||
@@ -872,7 +872,7 @@ static int pppoe_sendmsg(struct socket *
|
||||
@@ -871,7 +871,7 @@ static int pppoe_sendmsg(struct socket *
|
||||
goto end;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
0, GFP_KERNEL);
|
||||
if (!skb) {
|
||||
error = -ENOMEM;
|
||||
@@ -880,7 +880,7 @@ static int pppoe_sendmsg(struct socket *
|
||||
@@ -879,7 +879,7 @@ static int pppoe_sendmsg(struct socket *
|
||||
}
|
||||
|
||||
/* Reserve space for headers. */
|
||||
|
||||
Reference in New Issue
Block a user