aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/0001-Revert-ipv4-Don-t-use-the-cached-pmtu-informations-f.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-17 12:50:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-17 12:50:23 +0000
commit9c535a4e2a5f562347df91843da8bdbbccf4b715 (patch)
tree2ac257503d67e1f96ef86aca985d224a028d575e /main/linux-grsec/0001-Revert-ipv4-Don-t-use-the-cached-pmtu-informations-f.patch
parentfa593c6bf5bc0f26dcffcbc938daf0017a4d3a96 (diff)
downloadaports-9c535a4e2a5f562347df91843da8bdbbccf4b715.tar.bz2
aports-9c535a4e2a5f562347df91843da8bdbbccf4b715.tar.xz
main/linux-grsec: upgrade to 2.9.1-3.6.2-201210151829
Diffstat (limited to 'main/linux-grsec/0001-Revert-ipv4-Don-t-use-the-cached-pmtu-informations-f.patch')
-rw-r--r--main/linux-grsec/0001-Revert-ipv4-Don-t-use-the-cached-pmtu-informations-f.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/main/linux-grsec/0001-Revert-ipv4-Don-t-use-the-cached-pmtu-informations-f.patch b/main/linux-grsec/0001-Revert-ipv4-Don-t-use-the-cached-pmtu-informations-f.patch
deleted file mode 100644
index 4b5f2ee94a..0000000000
--- a/main/linux-grsec/0001-Revert-ipv4-Don-t-use-the-cached-pmtu-informations-f.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 84799010fc72913eb398674f8da7df525bde8fcb Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Mon, 16 Jul 2012 08:14:31 +0200
-Subject: [PATCH] Revert "ipv4: Don't use the cached pmtu informations for
- input routes"
-
-This reverts commit 261663b0ee2ee8e3947f4c11c1a08be18cd2cea1.
----
- net/ipv4/route.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/net/ipv4/route.c b/net/ipv4/route.c
-index 167ea10..f21e282 100644
---- a/net/ipv4/route.c
-+++ b/net/ipv4/route.c
-@@ -1917,15 +1917,15 @@ static unsigned int ipv4_default_advmss(const struct dst_entry *dst)
-
- static unsigned int ipv4_mtu(const struct dst_entry *dst)
- {
-- const struct rtable *rt = (const struct rtable *) dst;
- unsigned int mtu = dst_metric_raw(dst, RTAX_MTU);
-
-- if (mtu && rt_is_output_route(rt))
-+ if (mtu)
- return mtu;
-
- mtu = dst->dev->mtu;
-
- if (unlikely(dst_metric_locked(dst, RTAX_MTU))) {
-+ const struct rtable *rt = (const struct rtable *) dst;
-
- if (rt->rt_gateway != rt->rt_dst && mtu > 576)
- mtu = 576;
---
-1.7.11.2
-