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:
Felix Fietkau
2015-09-22 11:28:28 +00:00
parent 9893f5f00e
commit b0f48b6ebc
4 changed files with 36 additions and 4 deletions

View File

@@ -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. */