From b119473cc24511ec64fe0b22ffbec34fbf73ac00 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 6 Jan 2010 01:28:39 -0500 Subject: ip_always_defrag was removed in the *2.4* kernel. I think we can safely remove this code. --- rc.d/init.d/network | 5 ----- sysconfig.txt | 6 ------ 2 files changed, 11 deletions(-) diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 0eb00e6b..777c66e8 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -264,11 +264,6 @@ case "$1" in action $"Disabling IPv4 packet forwarding: " sysctl -w net.ipv4.ip_forward=0 fi fi - if [ -f /proc/sys/net/ipv4/ip_always_defrag ]; then - if [ $(cat /proc/sys/net/ipv4/ip_always_defrag) != 0 ]; then - action $"Disabling IPv4 automatic defragmentation: " sysctl -w net.ipv4.ip_always_defrag=0 - fi - fi fi # IPv6 hook (post IPv4 stop) diff --git a/sysconfig.txt b/sysconfig.txt index 582fb4d9..55dd4ca5 100644 --- a/sysconfig.txt +++ b/sysconfig.txt @@ -278,12 +278,6 @@ Generic options: This setting has been moved into net.ipv4.ip_forward setting in /etc/sysctl.conf. Setting it to 1 there enables IP forwarding, setting it to 0 disables it (which is the default for RFC compliance). - DEFRAG_IPV4=yes|no - Setting this to yes used to automatically defragment IPv4 - packets. This is a good idea for masquerading, and - a bad idea otherwise. This setting was moved into - net.ipv4.ip_always_defrag setting in /etc/sysctl.conf. It - is no longer valid for 2.4 kernels. NETWORKING_IPV6=yes|no Enable or disable global IPv6 initialization -- cgit v1.2.1