kernel: add a patch to fix crashes on pppoe disconnect/reconnect
[openwrt/staging/wigyori.git] / target / linux / generic / patches-3.18 / 650-pppoe_header_pad.patch
index 3b4978be8498bb6e09ec2973ea6d4cde1b803b20..4b623fad29911fb6d861f290f251e67b9e0f2ca0 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/ppp/pppoe.c
 +++ b/drivers/net/ppp/pppoe.c
-@@ -869,7 +869,7 @@ static int pppoe_sendmsg(struct kiocb *i
+@@ -868,7 +868,7 @@ static int pppoe_sendmsg(struct kiocb *i
                goto end;
  
  
@@ -9,7 +9,7 @@
                           0, GFP_KERNEL);
        if (!skb) {
                error = -ENOMEM;
-@@ -877,7 +877,7 @@ static int pppoe_sendmsg(struct kiocb *i
+@@ -876,7 +876,7 @@ static int pppoe_sendmsg(struct kiocb *i
        }
  
        /* Reserve space for headers. */