- 27 Mar, 2009 9 commits
-
-
Oliver Hartkopp authored
t's not a big problem, but it makes a better show in 'ip link show' on CAN interfaces :-) I also moved __PF(CAN,can) in ll_proto.c to the same position where it can be found in if_ether.h . The only thing i did not know if the __PF(CAN,can) in ll_types.c needs to be put in #ifdef ARPHDR_CAN like __PF(HWX25,hwx25) is or not. You definitely know that better than me.
-
Srivats P authored
"ip -6 tunnel show" displays only ip6ip6 tunnels not ip4ip6 tunnels - it should display all irrespective of proto. This is because the default tunnel proto is initialized to IPPROTO_IPV6 in ip6_tnl_parm_init() which is fine for a 'add' command but not for 'show'. This patch overrides proto with 0 signifying 'mode any' as the default in case of a 'show'.
-
Sascha Hlusiak authored
please commit my patch below to the iproutes package. It just an incorrect check so that adding an isatap tunnel with remote works, since it's needed if one wants to use stateless autoconf. The current check makes tunnel mode isatap unusable for all client users.
-
Andreas Henriksson authored
Hello Stephen and netdev people! Currently you can configure "equalize" and it looks all fine and dandy. The kernel has the interface defined, but apparently there's never actually been any implementation for it (only a never merged patch in the 2.4 era). I'm suggesting to drop the code to give any potential users of this feature the benefit of receiving a proper error message. I see it unlikely that this will be implemented in the near future, but if it ever happens reviving the iproute2 side should be as easy as git revert this patch. For more details see http://bugs.debian.org/149897 Regards, Andreas Henriksson
-
Varun Chandramohan authored
This patch adds prefix lables for "ip monitor all" command to simplfy understanding of the output. Signed-off-by: Varun Chandramohan <varunc@linux.vnet.ibm.com>
-
Varun Chandramohan authored
This patch adds exclusive support to enable monitoring neighbour table entries in ip command. Signed-off-by: Varun Chandramohan <varunc@linux.vnet.ibm.com>
-
Stephen Hemminger authored
-
Petr Jediný authored
-
jamal authored
patch attached this time.. On Fri, 2008-08-08 at 10:01 -0400, jamal wrote: > wireless drivers using wext is a prime example if you need a test case. > > cheers, > jamal ip: Allow for easier debug of buggy devices that dont send their names With the old message couldnt tell which device had the bug. This patch provides at least an ifindex to narrow it down. Theres also no point in bailing out because of one bug; we allow it to go on so we could dump as much info as we can Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
-
- 24 Mar, 2009 3 commits
-
-
Stephen Hemminger authored
Need to get right headers or build breaks.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Update to final 2.6.29 headers
-
- 23 Mar, 2009 2 commits
-
-
Stephen Hemminger authored
Default for hoplimit is -1 which should be displayed as zero.
-
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 2 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>
-