- 23 Mar, 2009 1 commit
-
-
Stephen Hemminger authored
New 2.6.28 support for text description
-
- 18 Mar, 2009 1 commit
-
-
Stephen Hemminger authored
-
- 02 Mar, 2009 1 commit
-
-
Stephen Hemminger authored
Need limits.h to get INT_MIN on Debian
-
- 19 Feb, 2009 3 commits
-
-
Denys Fedoryschenko authored
This change was forgotten by Stephen in the last release Signed-off-by: Denys Fedoryschenko <denys@visp.net.lb> Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
-
Jamal Hadi Salim authored
Many thanks to Yevgeny Kosarzhevsky <yevg@pisem.net> for reporting and a lot of testing Thanks to Jan Engelhardt <jengelh@medozas.de> for a lot of advice Thanks to Denys Fedoryschenko <denys@visp.net.lb> for some sample code that he tried and thanks to Andreas Henriksson <andreas@fatal.se> (who maintains iproute2 on debian) for the persistent followup. Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
-
Stephen Hemminger authored
Original from: Alexander Duyck <alexander.h.duyck@intel.com> A bug was found in which the memory for the tc_skbedit struct was being used uninitialized to 0. Alternative version of original fix using initializer rather than memset. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-
- 28 Jan, 2009 1 commit
-
-
Patrick McHardy authored
add DRR support This patch adds support for the DRR scheduler I just sent to iproute. Signed-off-by: Patrick McHardy <kaber@trash.net>
-
- 15 Jan, 2009 1 commit
-
-
Stephen Hemminger authored
-
- 08 Jan, 2009 2 commits
-
-
Stephen Hemminger authored
Gcc now warns about possible errors from passing a string buffer as format arguement to printf().
-
Stephen Hemminger authored
Still had references to l_name.
-
- 07 Jan, 2009 7 commits
-
-
Denys Fedoryshchenko authored
1)optind according iptables sources have to be set to 0. If it is set to 1, in batch it will mess up things. Also in iptables sources i notice that ->tflags and ->used need to be reset. 2)Since target->t = fw_calloc(1, size); allocated memory in function build_st, it have to be freed at the end, or in batch we will have memory leak. TODO: Probably it must be freed in all "return -1" cases in parse_ipt after build_st. About this i am not sure, up to Stephen. 3)new_name was malloc'ed, but not freed
-
Benedikt Gollatz authored
(router solicitation) becomes negative How reproducible: Always. Steps to Reproduce: 1. Configure an IPv6 router to advertise a prefix with a short preferred lifetime, e.g. 0. 2. Wait for the IPv6 autoconfiguration process to complete for an interface <if> connected to a link where that router advertises. 3. Run ip -6 show dev <if>. Actual results: The preferred lifetime will have become negative, but it is printed as an unsigned integer. The preferred lifetime to be displayed will therefore be close to UINT_MAX.
-
Alexander Duyck authored
Add support for multiq qdisc This patch adds the ability to configure the multiq qdisc. Since the qdisc does not require any input it will pull the number of bands directly from the device that it is added to the root of. usage: tc qdisc add dev <DEV> root handle <HANDLE> multiq Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-
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.
-