1. 08 Aug, 2006 2 commits
    • Kirill Korotaev's avatar
      [IPV4]: Limit rt cache size properly. · 8d1502de
      Kirill Korotaev authored
      From: Kirill Korotaev <dev@sw.ru>
      
      During OpenVZ stress testing we found that UDP traffic with random src
      can generate too much excessive rt hash growing leading finally to OOM
      and kernel panics.
      
      It was found that for 4GB i686 system (having 1048576 total pages and
        225280 normal zone pages) kernel allocates the following route hash:
      syslog: IP route cache hash table entries: 262144 (order: 8, 1048576
      bytes) => ip_rt_max_size = 4194304 entries, i.e.  max rt size is
      4194304 * 256b = 1Gb of RAM > normal_zone
      
      Attached the patch which removes HASH_HIGHMEM flag from
      alloc_large_system_hash() call.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8d1502de
    • Stephen Hemminger's avatar
      [IPX]: Header length validation needed · 8b5cc5ef
      Stephen Hemminger authored
      This patch will linearize and check there is enough data.
      It handles the pprop case as well as avoiding a whole audit of
      the routing code.
      Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8b5cc5ef
  2. 07 Aug, 2006 3 commits
  3. 06 Aug, 2006 35 commits