aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/0004-arp-flush-arp-cache-on-device-change.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-17 15:17:35 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-17 15:18:12 -0600
commitda528cb69823d490a8d228dedc4ddab9840d5a3d (patch)
tree36cfbd962a623a54a1237c451ad8733968a7ea10 /main/linux-grsec/0004-arp-flush-arp-cache-on-device-change.patch
parent0c5ec393f61eabc12956d1206c412992718b52bc (diff)
downloadaports-da528cb69823d490a8d228dedc4ddab9840d5a3d.tar.bz2
aports-da528cb69823d490a8d228dedc4ddab9840d5a3d.tar.xz
Revert "Revert "main/linux-grsec: upgrade to 2.6.37""
Diffstat (limited to 'main/linux-grsec/0004-arp-flush-arp-cache-on-device-change.patch')
-rw-r--r--main/linux-grsec/0004-arp-flush-arp-cache-on-device-change.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/main/linux-grsec/0004-arp-flush-arp-cache-on-device-change.patch b/main/linux-grsec/0004-arp-flush-arp-cache-on-device-change.patch
deleted file mode 100644
index 85161ea3a3..0000000000
--- a/main/linux-grsec/0004-arp-flush-arp-cache-on-device-change.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 8a0e3ea4924059a7268446177d6869e3399adbb2 Mon Sep 17 00:00:00 2001
-From: Timo Teras <timo.teras@iki.fi>
-Date: Mon, 12 Apr 2010 13:46:45 +0000
-Subject: [PATCH 04/18] arp: flush arp cache on device change
-
-If IFF_NOARP is changed, we must flush the arp cache.
-
-Signed-off-by: Timo Teras <timo.teras@iki.fi>
----
- net/ipv4/arp.c | 3 +++
- 1 files changed, 3 insertions(+), 0 deletions(-)
-
-diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c
-index 4e80f33..580bfc3 100644
---- a/net/ipv4/arp.c
-+++ b/net/ipv4/arp.c
-@@ -1200,6 +1200,9 @@ static int arp_netdev_event(struct notifier_block *this, unsigned long event, vo
- neigh_changeaddr(&arp_tbl, dev);
- rt_cache_flush(dev_net(dev), 0);
- break;
-+ case NETDEV_CHANGE:
-+ neigh_changeaddr(&arp_tbl, dev);
-+ break;
- default:
- break;
- }
---
-1.7.0.2
-