aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-pae/xfrm-fix-policy-unreferencing-on-larval-drop.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-10 08:20:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-10 08:20:58 +0000
commit45efbf454e73ac59911d4237d3701af4ccf196f7 (patch)
treed01524cfadc6c7c9839c9841ee5aa108391a2be0 /main/linux-pae/xfrm-fix-policy-unreferencing-on-larval-drop.patch
parentc8e30a4b6ada735f6233ed83c1c2e485f1daf4bb (diff)
downloadaports-45efbf454e73ac59911d4237d3701af4ccf196f7.tar.bz2
aports-45efbf454e73ac59911d4237d3701af4ccf196f7.tar.xz
main/linux-pae: upgrade to .15 and sync up with linux-grsec
Diffstat (limited to 'main/linux-pae/xfrm-fix-policy-unreferencing-on-larval-drop.patch')
-rw-r--r--main/linux-pae/xfrm-fix-policy-unreferencing-on-larval-drop.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/linux-pae/xfrm-fix-policy-unreferencing-on-larval-drop.patch b/main/linux-pae/xfrm-fix-policy-unreferencing-on-larval-drop.patch
new file mode 100644
index 0000000000..25dc0dcdc2
--- /dev/null
+++ b/main/linux-pae/xfrm-fix-policy-unreferencing-on-larval-drop.patch
@@ -0,0 +1,14 @@
+diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
+index 31f4ba4..f4ea3a0 100644
+--- a/net/xfrm/xfrm_policy.c
++++ b/net/xfrm/xfrm_policy.c
+@@ -1805,7 +1805,7 @@ restart:
+ /* EREMOTE tells the caller to generate
+ * a one-shot blackhole route. */
+ dst_release(dst);
+- xfrm_pols_put(pols, num_pols);
++ xfrm_pols_put(pols, drop_pols);
+ XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTNOSTATES);
+ return -EREMOTE;
+ }
+