1. 07 Jan, 2009 4 commits
    • Alexander Duyck's avatar
      add support for skbedit action · f72a7aab
      Alexander Duyck authored
      	Provides ability to edit queue_mapping field
      	Provides ability to edit priority field
      
      usage: action skbedit [queue_mapping QUEUE_MAPPING] [priority PRIORITY]
      	at least one option must be select, or both at the same time
      Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      f72a7aab
    • Olivier Fourdan's avatar
      ip maddr show” on an infiniband address causes a stack corruption · 7f71c0ca
      Olivier Fourdan authored
      “ip maddr show” on an infiniband address causes a stack corruption
      because the length of the address for Infiniband (20 bytes, as
      described in kernel doc Documentation/infiniband/ipoib.txt) does not
      fit on the 16 bytes of the field in which it gets stored.
      
      The proposed patch increases the size of the hardware address from 4
      __u32 to 8 and also adds a check to avoid overriding the available
      size while parsing the hardware address.
      
      This bug affects current upstream code AFAICT.
      
      Hope this helps,
      Cheers,
      Olivier.
      
      “ip maddr show ib0” causes a stack corruption because the length of the address
      for Infiniband (20 see kernel doc Documentation/infiniband/ipoib.txt) does not
      fit on the 16 bytes of the field in which it gets stored.
      
      The proposed patch increases the size of the hardware address from 4 u32 to 8
      and adds a check to avoid overriding the available size while parsing the
      hardware address.
      7f71c0ca
    • Herbert Xu's avatar
      Update version of IP gre · 72c771b2
      Herbert Xu authored
      This patch adds support for configuring GRE tunnels using the
      new rtnl_link interface.  This only works on kernels that have
      the new GRE configuration interface.
      
      This is accessed through the "ip link" command.  The previous
      tunnel configuration interface "ip tunnel" remains as it is
      and should be retained for compatibility with old kernels.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      72c771b2
    • Herbert Xu's avatar
      ip: gre: Add GRE configuration support through rtnl_link · 237d9e82
      Herbert Xu authored
      This patch adds support for configuring GRE tunnels using the
      new rtnl_link interface.  This only works on kernels that have
      the new GRE configuration interface.
      
      This is accessed through the "ip link" command.  The previous
      tunnel configuration interface "ip tunnel" remains as it is
      and should be retained for compatibility with old kernels.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      237d9e82
  2. 06 Jan, 2009 1 commit
  3. 27 Oct, 2008 1 commit
  4. 14 Oct, 2008 1 commit
  5. 13 Oct, 2008 4 commits
  6. 19 Sep, 2008 1 commit
  7. 18 Sep, 2008 9 commits
  8. 15 Sep, 2008 4 commits
  9. 12 Sep, 2008 1 commit
  10. 05 Sep, 2008 1 commit
  11. 31 Jul, 2008 2 commits
  12. 26 Jul, 2008 1 commit
  13. 25 Jul, 2008 3 commits
    • Stephen Hemminger's avatar
      Update snapshot · 6420b62e
      Stephen Hemminger authored
      6420b62e
    • Rafael Almeida's avatar
      Fixed installation when changing DESTDIR · b514b358
      Rafael Almeida authored
      After changing the DESTDIR the installated binaries have some issues
      due to hard coded paths. For example, using distributions on NetEm
      would segfault.
      
      I've changed iplink.c and tc_util.c so they are now aware of DESTDIR.
      Along with that change I needed to change the main Makefile so it
      defines the DESTDIR macro when calling gcc.
      
      I also changed the paths so that during the installation sbin, etc,
      share and lib directories are created directly inside of the DESTDIR,
      instead of creating a usr directory inside that. That's the behaviour
      of most packages out there, so I think most users will be expecting
      that to happen.
      b514b358
    • Varun Chandramohan's avatar
      Display Correct Error For Addrlabel Info · 6579feea
      Varun Chandramohan authored
      The command "ip addrlabel add/del" displays incorrect error message when provided with insufficient inputs. This patch fixes it in par with "ip addr add/del".
      
      Currently:
      # ./ip addrlabel add
      RTNETLINK answers: Numerical result out of range
      
      # ./ip addr add
      Not enough information: "dev" argument is required.
      
      After patch:
      # ./ip addrlabel add
      Not enough information: "prefix" argument is required.
      Signed-off-by: default avatarVarun Chandramohan <varunc@linux.vnet.ibm.com>
      Signed-off-by: default avatarStephen Hemminger <stephen.hemminger@vyatta.com>
      6579feea
  14. 15 Jul, 2008 1 commit
  15. 08 Jul, 2008 1 commit
  16. 30 Jun, 2008 2 commits
  17. 23 Jun, 2008 3 commits