Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Hering <ohering@suse.de>2011-10-24 20:06:32 +0200
committerOlaf Hering <ohering@suse.de>2011-10-24 20:06:32 +0200
commit488b9f98d8ad733e5652e3e1863d1d6126f7441c (patch)
treeae727b4ddae4a8c065097f230200c898926dea73
parentb4e1548992b62ccdeefd7bead1acae9cdb01a7e6 (diff)
- patches.suse/SoN-0009b-netvm-Propagate-page-pfmemalloc-to-skb.patch:
Add hack to avoid crash in propagate_pfmemalloc_skb (bnc#726075)
-rw-r--r--kernel-source.changes6
-rw-r--r--patches.suse/SoN-0009b-netvm-Propagate-page-pfmemalloc-to-skb.patch2
2 files changed, 7 insertions, 1 deletions
diff --git a/kernel-source.changes b/kernel-source.changes
index 1bb071f3c7..3b531835a2 100644
--- a/kernel-source.changes
+++ b/kernel-source.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Mon Oct 24 20:05:38 CEST 2011 - ohering@suse.de
+
+- patches.suse/SoN-0009b-netvm-Propagate-page-pfmemalloc-to-skb.patch:
+ Add hack to avoid crash in propagate_pfmemalloc_skb (bnc#726075)
+
+-------------------------------------------------------------------
Mon Oct 24 14:59:47 CEST 2011 - mgalbraith@suse.de
- Update config files.
diff --git a/patches.suse/SoN-0009b-netvm-Propagate-page-pfmemalloc-to-skb.patch b/patches.suse/SoN-0009b-netvm-Propagate-page-pfmemalloc-to-skb.patch
index 7cd5144dae..c35b5bca4f 100644
--- a/patches.suse/SoN-0009b-netvm-Propagate-page-pfmemalloc-to-skb.patch
+++ b/patches.suse/SoN-0009b-netvm-Propagate-page-pfmemalloc-to-skb.patch
@@ -181,7 +181,7 @@ index 9f44101..c4dd520 100644
+static inline void propagate_pfmemalloc_skb(struct page *page,
+ struct sk_buff *skb)
+{
-+ if (page->pfmemalloc)
++ if (page && page->pfmemalloc)
+ skb->pfmemalloc = true;
}