kernel: bump 3.18 to 3.18.119
[openwrt/openwrt.git] / target / linux / generic / pending-3.18 / 082-ipv6-ip6_fragment-fix-headroom-tests-and-skb-leak.patch
index 9f39e5ba5eaceb6d2073e7a124cd5652e548112c..51f31ea06e898a225d51f2aaba7a2faf5d86b941 100644 (file)
@@ -44,7 +44,7 @@ Closes 20532
 
 --- a/net/ipv6/ip6_output.c
 +++ b/net/ipv6/ip6_output.c
-@@ -600,20 +600,22 @@ int ip6_fragment(struct sk_buff *skb, in
+@@ -602,20 +602,22 @@ int ip6_fragment(struct sk_buff *skb, in
        }
        mtu -= hlen + sizeof(struct frag_hdr);
  
@@ -69,7 +69,7 @@ Closes 20532
                                goto slow_path_clean;
  
                        /* Partially cloned skb? */
-@@ -630,8 +632,6 @@ int ip6_fragment(struct sk_buff *skb, in
+@@ -632,8 +634,6 @@ int ip6_fragment(struct sk_buff *skb, in
  
                err = 0;
                offset = 0;
@@ -78,7 +78,7 @@ Closes 20532
                /* BUILD HEADER */
  
                *prevhdr = NEXTHDR_FRAGMENT;
-@@ -639,8 +639,11 @@ int ip6_fragment(struct sk_buff *skb, in
+@@ -641,8 +641,11 @@ int ip6_fragment(struct sk_buff *skb, in
                if (!tmp_hdr) {
                        IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)),
                                      IPSTATS_MIB_FRAGFAILS);
@@ -91,7 +91,7 @@ Closes 20532
  
                __skb_pull(skb, hlen);
                fh = (struct frag_hdr *)__skb_push(skb, sizeof(struct frag_hdr));
-@@ -738,7 +741,6 @@ slow_path:
+@@ -740,7 +743,6 @@ slow_path:
         */
  
        *prevhdr = NEXTHDR_FRAGMENT;