1. 30 Nov, 2010 6 commits
  2. 29 Nov, 2010 1 commit
  3. 28 Nov, 2010 1 commit
  4. 18 Nov, 2010 1 commit
  5. 21 Oct, 2010 1 commit
  6. 13 Sep, 2010 1 commit
  7. 25 Aug, 2010 1 commit
    • Stephen Hemminger's avatar
      Fix GRED options clearing · cb4bd0ec
      Stephen Hemminger authored
      Bug reported where priorities of GRED DP's are ignored.
      The option parsing sets opt then memset was clearing these
      values.
      cb4bd0ec
  8. 23 Aug, 2010 7 commits
    • Eric Dumazet's avatar
      iproute2: add 64bit support to ifstat · a571587d
      Eric Dumazet authored
      Le lundi 23 août 2010 à 10:33 -0700, Stephen Hemminger a écrit :
      
      > I think this breaks the wraparound detection code in this command.
      >
      >
      
      OK lets fix the bug only, before adding 64bit counters capabilities.
      
      Thanks
      
      [PATCH] iproute2: add 64bit arches support to ifstat
      
      ifstat assumes IFLA_STATS fields are "unsigned long", but they are
      __u32. This fix is needed to let ifstat run on 64bit arches.
      Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      a571587d
    • Stephen Hemminger's avatar
      Use correct rt_link_statistics · daf7bd5c
      Stephen Hemminger authored
      In recent kernels, net_device_stats is not exposed and the code
      shoulf have used rt_link_statistics.  Also, fix use of sprintf
      with user supplied value.
      daf7bd5c
    • Eric Dumazet's avatar
      ip: add RTA_MARK support · b0373bfb
      Eric Dumazet authored
      Adds support for RTA_MARK rt attribute added in linux-2.6.36
      
      $ ip route get ADDR mark 4
      192.168.20.110 dev eth1  src 192.168.20.108  mark 4
          cache  mtu 1500 advmss 1460 hoplimit 64
      
      $ ip route get 192.168.20.108 from ADDR iif STRING mark 256
      local 192.168.20.108 from 192.168.20.110 dev lo  src 192.168.20.108  mark 0x100
          cache <local,src-direct>  iif eth1
      
      $ ip route list cache [ADDR] mark NUMBER
      
      Hexadecimal output if mark >= 16
      null marks are not displayed.
      Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      b0373bfb
    • Stephen Hemminger's avatar
      Update kernel headers to 2.6.36-rc2 · 04a9fc0a
      Stephen Hemminger authored
      04a9fc0a
    • Stephen Hemminger's avatar
      Snapshot for 2.6.35.1 · daa10c8a
      Stephen Hemminger authored
      daa10c8a
    • Ulrich Weber's avatar
      iproute2: dont filter cached routes on iproute_get · c73f3e02
      Ulrich Weber authored
      iproute_get will return cloned routes for IPv4
      and cloned as well non-cloned routes for IPv6.
      
      Therefore RTM_F_CLONED flag should not be checked
      for iproute_get routes. Check in print_route will
      always fail because valid values are 0 and 1.
      Signed-off-by: default avatarUlrich Weber <uweber@astaro.com>
      c73f3e02
    • Ben Greear's avatar
      iproute2: Fix filtering related to flushing IP addresses. · 3bc1c4f2
      Ben Greear authored
      The old 'ip addr flush' logic had several flaws:
      
      * It reversed logic for primary v/s secondary flags
        (though, it sort of worked right anyway)
      
      * The code tried to remove secondaries and then primaries,
        but in practice, it always removed one primary per loop,
        which not at all efficient.
      
      * The filter logic in the core would run only the first
        filter in most cases.
      
      * If you used '-s -s', the ifa_flags member would be
        modified, which could make future filters fail
        to function fine.
      
      This patch attempts to fix all of these issues.
      Tested-by: default avatarBrian Haley <brian.haley@hp.com>
      Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
      3bc1c4f2
  9. 04 Aug, 2010 1 commit
  10. 02 Aug, 2010 2 commits
  11. 01 Aug, 2010 2 commits
    • Steve Fink's avatar
      ss -p is much too slow · fbc0f876
      Steve Fink authored
      > On closer inspection, it appears that ss -p does a quadratic scan. It
      > rescans every entry in /proc/*/fd/* repeatedly (once per listening
      > port? per process? I don't remember what I figured out.)
      >
      > I humbly suggest that this is not a good idea.
      
      Yep, this is junk.  Please give this patch a try:
      
      ss: Avoid quadradic complexity with '-p'
      
      Scan the process list of open sockets once, and store in a hash
      table to be used by subsequent find_user() calls.
      Reported-by: default avatarSteve Fink <sphink@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fbc0f876
    • Mike Frysinger's avatar
      netem: fix installs of dist files · 1a7943bc
      Mike Frysinger authored
      The tc program searches LIBDIR by default for the .dist files, and that
      defaults to /usr/lib.  But the netem subdir has /lib/ hardcoded which
      means the default build+install results in the files not being found.
      
      Further, these are plain text files which are read at runtime, so it
      doesn't make sense to give them executable bits.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      1a7943bc
  12. 30 Jul, 2010 1 commit
  13. 23 Jul, 2010 9 commits
  14. 09 Jun, 2010 1 commit
  15. 19 May, 2010 5 commits