- 07 Jan, 2009 4 commits
-
-
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: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-
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.
-
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: Herbert Xu <herbert@gondor.apana.org.au>
-
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: Herbert Xu <herbert@gondor.apana.org.au>
-
- 06 Jan, 2009 1 commit
-
-
Stephen Hemminger authored
Put in sanitized 2.6.28 headers
-
- 27 Oct, 2008 1 commit
-
-
Stephen Hemminger authored
Go back to original address parsing for compatability, but document it and add more stringent checking.
-
- 14 Oct, 2008 1 commit
-
-
Stephen Hemminger authored
Handle 10/8 as 10.0.0.0/8 and check for bogus values like 256/8. This is a comprimise between original iproute2 parsing and standard BSD parsing of abbreviated IPV4 addresses.
-
- 13 Oct, 2008 4 commits
-
-
Stephen Hemminger authored
This is a variant of Patrick McHardy patch for help text. Add help for ip link add and ip link delete. The help conditional on what the kernel supports. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
-
Patrick McHardy authored
Fix confusing error message noticed by Martin Josefsson: Fix typo noticed by Phil Oester: information vs. informatin # ip link add RTNETLINK answers: Operation not supported The reason is missing device type information, refuse this and print a message. Signed-off-by: Patrick McHardy <kaber@trash.net>
-
Patrick McHardy authored
For some reason "ip link add help" is currently not supported when using the new rtnl_link API. Fix that. Signed-off-by: Patrick McHardy <kaber@trash.net>
-
Stephen Hemminger authored
Doing tc filter help should end argument processing. This prevents extraneous messages. Reported by Marcela Maslanova
-
- 19 Sep, 2008 1 commit
-
-
Stephen Hemminger authored
Get rid of dead code
-
- 18 Sep, 2008 9 commits
-
-
Andreas Henriksson authored
Allows tunnels that could be confused with help command. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Herbert Xu authored
This patch allows the user to create/manage AEAD algorithms with the ip xfrm command. AEAD algorithms are also known as combined- mode algorithms. They provide the functionality of encryption algorithms as well as authentication algorithms. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-
Li Yewang authored
When load the tcp_diag module, and use "ss -f inet" command to show the socket information of inet domain. But this command also shows the information of inet6 domain, but not only inet domain. and "ss -f inet6", "ss -4", "ss -6" have the same problem. Signed-off-by: Li Yewang <lyw@cn.fujitsu.com> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Li Yewang authored
when using the "ss -f inet -t" command to show the tcp socket information of inet domain, we get the error message: "ss: no socket tables to show with such filter." This patch can fix this bug. Signed-off-by: Li Yewang <lyw@cn.fujitsu.com> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Andreas Henriksson authored
Hello Rafael Almeida. I noticed your patch adding DESTDIR support in the latest iproute2 release. Much appreciated! Soon the debian packages might be able to move to actually using "make install" rather then it's own installation procedure when building packages. I've noticed something that will break though.... Debian packages usually sets DESTDIR=debian/tmp/ and packages the contents of that directory as if it where the root file system. This will break the /usr/lib/{tc,ip}/ module loading, because they DESTDIR (/usr) will be /whatever-the-build-path-was/debian/tmp/lib/{tc,ip}/. I beleive others usually call this the LIBDIR to make the separation between DISTDIR being the (possibly temporary) place things are put when build is done, and LIBDIR (and others) are used for actual runtime paths. I'm attaching a patch that I think fixes this, but would be really happy if you could have a look at to verify I'm not screwing something up. -- Regards, Andreas Henriksson Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Jussi Kivilinna authored
Patch adds generic size table that is similiar to rate table, with difference that size table stores link layer packet size. Based on patch by Patrick McHardy http://marc.info/?l=linux-netdev&m=115201979221729&w=2Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Patrick McHardy authored
This is the patch for iproute for configuring GVRP. commit 32143eed8b706e5c6554ab42903533b3bccdc060 Author: Patrick McHardy <kaber@trash.net> Date: Thu Jul 3 19:05:09 2008 +0200 [IPROUTE]: iflink_vlan: support GVRP flag Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Patrick McHardy authored
commit 337628b9aca63fda7622701191d6304c83438909 Author: Patrick McHardy <kaber@trash.net> Date: Fri Jul 4 04:54:56 2008 +0200 cls_flow: add perturbation support Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Stephen Hemminger authored
Fix up conflict with earlier attempt at resolving build issues with MQ
-
- 15 Sep, 2008 4 commits
-
-
Andreas Henriksson authored
On tis, 2008-07-22 at 20:21 +0200, martin f krafft wrote: > piper:~|master|% sudo ip a flush dev eth0 >/dev/null > Nothing to flush. > > It should just shut up, shouldn't it? :) The patch below makes the "Nothing to flush" only visible when show statistics flag is given, and then only to stdout rather then stderr. $ sudo ./ip/ip -s addr flush dev skif Nothing to flush. $ sudo ./ip/ip addr flush dev skif $ (See http://bugs.debian.org/492196 )
-
Andreas Henriksson authored
Commit 516ffb6b says: Stephen Hemminger [Thu, 22 May 2008 20:41:40 +0000 (13:41 -0700)] > Use the standard POSIX inet_pton to convert from string to IPV4 > address. This avoids problems where ip parses "127.2" wrong. Apparently inet_pton doesn't support abbreviated/shortened/classful ipv4 addresses at all, but inet_aton does. Since the function only deals with AF_INET anyway maybe using inet_aton "to increse backwards compatability" (please those who still want to use the format) could be considered? (This will still not restore the 10/8 format which apparently used to work in iproute, so people would have to settle for 10.0/8) (See http://bugs.debian.org/497011)
-
Stephen Hemminger authored
The one issue was the old multiqueue API, so that is handled by tc_util.h
-
- 12 Sep, 2008 1 commit
-
-
Stephen Hemminger authored
-
- 05 Sep, 2008 1 commit
-
-
Stephen Hemminger authored
Most newer documentation refers to these values already.
-
- 31 Jul, 2008 2 commits
-
-
Andreas Henriksson authored
Fix syntax errors in ip(8) manpage. lintian said: W: iproute: manpage-has-errors-from-man usr/share/man/man8/ip.8.gz 2167: warning: `RP' not defined Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Denys Fedoryshchenko authored
This patch fixes bug in Metadata ematch attributes parser strtoul on error return ULONG_MAX, not LONG_MAX Patch attached as file
-
- 26 Jul, 2008 1 commit
-
- 25 Jul, 2008 3 commits
-
-
Stephen Hemminger authored
-
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.
-
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: Varun Chandramohan <varunc@linux.vnet.ibm.com> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
- 15 Jul, 2008 1 commit
-
-
Stephen Hemminger authored
Copy santized version of headers from 2.6.26 final version.
-
- 08 Jul, 2008 1 commit
-
- 30 Jun, 2008 2 commits
-
-
Stephen Hemminger authored
Don't just silently drop.
-
Stephen Hemminger authored
The current kernel generates 71 possible header fields, but MAX_FIELDS in lnstat is only 64. This leads to referencing outside of the array. To fix, increase size of array and chop off parsing at MAX_FIELDS - 1.
-
- 23 Jun, 2008 3 commits
-
-
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: Yu Zhiguo <yuzg@cn.fujitsu.com>
-
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: Mike Frysinger <vapier@gentoo.org>
-
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: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-