1. 07 Jan, 2009 2 commits
    • 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 4 commits
    • Yu Zhiguo's avatar
      Fix generic_proc_open() of command 'nstat' and 'rtacct' · 4ffc44ca
      Yu Zhiguo authored
      Fix a bug of generic_proc_open(), so environment variables
      (e.g. PROC_NET_SNMP, PROC_NET_RTACCT) can be used to specify procfile.
      Signed-off-by: default avatarYu Zhiguo <yuzg@cn.fujitsu.com>
      4ffc44ca
    • Bertrand Jacquin's avatar
      netem: fix cross-compiling failure · 3cc6232e
      Bertrand Jacquin authored
      The programs in netem are compiled and run on the build machine, but they
      use the CFLAGS that are meant for the target system and often times, these
      are incompatible.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      3cc6232e
    • Benjamin Thery's avatar
      iproute2: add support for IFLA_NET_NS_PID in ip link · e2613dc8
      Benjamin Thery authored
      Hi Stephen,
      
      I resend you this patch once more. This time I updated the documentation
      too (may be that was the reason why you didn't take it before?).
      
      Please tell me if there are other things missing in this patch
      It applies on iproute2 git tree.
      
      Regards,
      Benjamin
      
      Description:
      ------------
      
      This patch adds support for the IFLA_NET_NS_PID type. It is used to
      move network devices between network namespaces.
      
      The syntax is:
      ip link set DEVICE netns PID
      
      PID is the pid of a process in the target network namespace.
      
      (Daniel Lezcano is the original author).
      Signed-off-by: default avatarDaniel Lezcano <dlezcano@fr.ibm.com>
      Signed-off-by: default avatarBenjamin Thery <benjamin.thery@bull.net>
      Signed-off-by: default avatarStephen Hemminger <stephen.hemminger@vyatta.com>
      e2613dc8
    • Patrick McHardy's avatar
      tc: don't set protococol field on filter delete · ae761068
      Patrick McHardy authored
      > # tc filter show dev eth1 | grep 4:29:d1
      > filter parent 1: protocol ip pref 5 u32 fh 4:29:d1 order 209 key ht 4
      > bkt 29 flowid 1:b7aa
      >
      > # tc filter del dev eth1 parent 1: pref 5 handle 4:29:d1 u32
      > RTNETLINK answers: Invalid argument
      > We have an error talking to the kernel
      >
      > after rollback to package"sys-apps/iproute2-2.6.24.20080108" all
      > deleted normal...
      
      The current iproute version uses "protocol all" by default
      if its not specified. This is actually only useful for creating
      new filters, on deletion an unset protocol is treated as wildcard.
      ae761068
  18. 20 Jun, 2008 1 commit