From: Stephen Hemminger Date: Thu, 11 Oct 2007 00:30:46 +0000 (-0700) Subject: [INET]: local port range robustness X-Git-Tag: v2.6.24-rc1~1454^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=227b60f5102cda4e4ab792b526a59c8cb20cd9f8;p=pandora-kernel.git [INET]: local port range robustness Expansion of original idea from Denis V. Lunev Add robustness and locking to the local_port_range sysctl. 1. Enforce that low < high when setting. 2. Use seqlock to ensure atomic update. The locking might seem like overkill, but there are cases where sysadmin might want to change value in the middle of a DoS attack. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed