include/SNAPSHOT.h | 2 include/linux/genetlink.h | 1 include/linux/if.h | 2 include/linux/if_arp.h | 1 include/linux/if_ether.h | 1 include/linux/if_link.h | 131 +++++++++++++++++++++++++++++++++++- include/linux/if_tun.h | 2 include/linux/netfilter/x_tables.h | 14 +-- include/linux/rtnetlink.h | 7 + ip/ip.c | 3 ip/ip_common.h | 1 ip/ipaddress.c | 115 ++++++++++++++++++++++++------- ip/ipaddrlabel.c | 2 ip/iplink.c | 113 +++++++++++++++++++------------ ip/iproute.c | 17 +--- ip/iprule.c | 24 ++++++ ip/iptunnel.c | 2 ip/tunnel.c | 11 +-- lib/dnet_ntop.c | 8 +- lib/dnet_pton.c | 5 + lib/ll_map.c | 6 + lib/ll_types.c | 37 +--------- man/man8/ip.8 | 95 ++++++++++++++++++++++++-- misc/ss.c | 134 ++++++++++++++++++++++++++----------- netem/Makefile | 4 - tc/Makefile | 37 ++++++---- tc/emp_ematch.l | 30 ++++---- tc/f_u32.c | 54 ++++++++++++-- tc/m_action.c | 4 - tc/m_ematch.c | 12 +-- 30 files changed, 650 insertions(+), 225 deletions(-)
New commits: commit e3d153c1fb35ec5d5f4ce197afb4cb13093ce534 Author: Stephen Hemminger <[email protected]> Date: Mon Aug 2 11:55:30 2010 -0700 Fix byte order of ether address match for u32 The u32 key match was incorrect byte order when using ether source or destination address matching. commit 02833d1b381f468c8744f786061b36b7a4c2572a Author: Andreas Henriksson <[email protected]> Date: Mon Aug 2 09:30:33 2010 +0200 tc: make symbols loaded from tc action modules global. Fixes problems with xtables based MARK target ("ipt" module). When tc loads the "ipt" (xt) module it kept the symbols local, this made loading of libxtables not find the required struct. currently ipt/xt is the only tc action module. iproute2 never seem to do dlclose. hopefully the modules doesn't export more symbols then needed. In this situation hopefully the RTLD_GLOBAL flag won't hurt us. I've been using this patch in the Debian package of iproute for the last 3 weeks and noone has complained. ( This fixes http://bugs.debian.org/584898 ) Signed-off-by: Andreas Henriksson <[email protected]> commit 2c6fb2db080281778e2fe6bb65c561ad36be5b2f Author: Stephen Hemminger <[email protected]> Date: Sun Aug 1 08:11:04 2010 -0700 Fix matching on ethernet src/dst address The u32 offset field in the selector is unsigned so can't use negative number to look at ethernet header. Instead use 'at' value to peek at header. commit fbc0f876fa011ef5f848911bd41b3033bf418bab Author: Steve Fink <[email protected]> Date: Wed Jun 9 11:42:38 2010 -0700 ss -p is much too slow > On closer inspection, it appears that ss -p does a quadratic scan. It > rescans every entry in /proc/*/fd/* repeatedly (once per listening > port? per process? I don't remember what I figured out.) > > I humbly suggest that this is not a good idea. Yep, this is junk. Please give this patch a try: ss: Avoid quadradic complexity with '-p' Scan the process list of open sockets once, and store in a hash table to be used by subsequent find_user() calls. Reported-by: Steve Fink <[email protected]> Signed-off-by: David S. Miller <[email protected]> commit 1a7943bcf3edbe160747eee6d2037f5da1af6502 Author: Mike Frysinger <[email protected]> Date: Wed Jun 9 14:52:09 2010 +0000 netem: fix installs of dist files The tc program searches LIBDIR by default for the .dist files, and that defaults to /usr/lib. But the netem subdir has /lib/ hardcoded which means the default build+install results in the files not being found. Further, these are plain text files which are read at runtime, so it doesn't make sense to give them executable bits. Signed-off-by: Mike Frysinger <[email protected]> commit 4b45abd1f000f62df9b624e393d9f3d62751a266 Author: Stephen Hemminger <[email protected]> Date: Thu Jul 29 18:03:35 2010 -0700 Fix NULL pointer reference when using basic match If basic match has no tree of matches underneath then print_ematch would core dump. commit 4dbda0f482b8947d064b3f82992394033de6616c Author: Stephen Hemminger <[email protected]> Date: Fri Jul 23 13:12:12 2010 -0700 Update ARP header type table Add all current values. Since if_arp.h is included, get rid of ifdefs'. Make table constant. commit 9ec0e899e13f01e44e8111179910e5d57ced2c4a Author: Mike Frysinger <[email protected]> Date: Wed Jun 9 14:52:41 2010 +0000 dnet: fix strict aliasing warnings Recent gcc doesn't like it when you cast char pointers to uint16_t pointers and then dereference it. So use memcpy() instead and let gcc take care of optimizing things away (when appropriate). This should also fix alignment issues on arches where gcc packs the char pointer tighter than 16bits. Signed-off-by: Mike Frysinger <[email protected]> commit 0156412215abec067ff08d760f454adbccb9a13f Author: Petr Lautrbach <[email protected]> Date: Mon Jun 14 03:36:28 2010 +0000 iproute: fix tc generating ipv6 priority filter This patch adds ipv6 filter priority/traffic class function static int parse_ip6_class(int *argc_p, char ***argv_p, struct tc_u32_sel *sel) shifting filter value to 5th bit and ignoring "at" as header position is exactly given. Signed-off-by: Petr Lautrbach <[email protected]> commit bf512683e07796af0d8a1dd33e572d319ddb3895 Author: Mike Frysinger <[email protected]> Date: Wed Jun 9 14:52:03 2010 +0000 tc: revert "echo" in install target The recent commit "iproute2: add option to build m_xt as a tc module" (ab814d635529787) looks like it wrongly included debug changes in the install target. So drop the `echo` so the tc binary actually gets installed again. Signed-off-by: Mike Frysinger <[email protected]> commit dec01609dc62d2137ed83c8ebccd2eef49d7aa97 Author: Arnd Hannemann <a...@rhea.(none)> Date: Fri May 21 04:10:09 2010 +0000 iproute2: Add dsfield as alias for tos for ip rules Get ip rule parsing of "dsfield" in sync with ip route parsing and manual page. Signed-off-by: Arnd Hannemann <[email protected]> commit 0d1c9b570a40e3eef8c053a229713ac9344a4f83 Author: Ben Greear <[email protected]> Date: Thu Jul 15 15:48:10 2010 -0700 iproute2: Fix batch-mode for mrules. The do_multirule logic was broken in batch mode because it expected the preferred_family to be AF_INET or AF_INET6, but it then assigned it to RTNL_FAMILY_IPMR or RTNL_FAMILY_IP6MR. So, the next iteration of the batch processing, it failed the check for AF_INET or AF_INET6. Signed-off-by: Ben Greear <[email protected]> commit 62011a0b31009a16518e0b17ba7205349a4b2a72 Author: Ulrich Weber <[email protected]> Date: Fri Jul 23 15:39:10 2010 +0200 iproute2: use int instead of long for RTAX_HOPLIMIT compare otherwise "if ((int)val == -1)" will never match on 64 bit systems Signed-off-by: Ulrich Weber <[email protected]> commit 2eca8d3d3e3ae21918132c9118a2605d32aaed02 Author: Ulrich Weber <[email protected]> Date: Fri Jul 23 15:37:31 2010 +0200 iproute2: use get_user_hz() for IPv6 print_route as already done in IPv4 and metrics code part Signed-off-by: Ulrich Weber <[email protected]> commit 447928279c88b6581ae4cdc1b5ac0a9e755aff64 Author: Ulrich Weber <[email protected]> Date: Fri Jul 23 15:36:08 2010 +0200 iproute2: filter routing entries based on clone flag Before IPv6 routing cache entries were always displayed if additional tables beside MAIN and LOCAL are installed. Signed-off-by: Ulrich Weber <[email protected]> commit b6c8e808fcea80da8bb97078ff942a0b9001e1c1 Author: Patrick McHardy <[email protected]> Date: Wed Jun 9 17:41:10 2010 +0200 ip: add support for multicast rules commit 44a5293c1c47b8c32d9bb0756660ea5d4802acf2 Author: Patrick McHardy <[email protected]> Date: Tue Apr 13 17:03:47 2010 +0200 ip: add support for multicast rules Signed-off-by: Patrick McHardy <[email protected]> commit 8864ac9dc5bd5ce049280337deb21191673a02d0 Author: Jan Engelhardt <[email protected]> Date: Thu Mar 11 10:00:34 2010 +0000 Add IFLA_STATS64 support `ip -s link` shows interface counters truncated to 32 bit. This is because interface statistics are transported only in 32-bit quantity to userspace. This commit adds recognition for the new IFLA_STATS64 attribute that exports them in full 64 bit. Signed-off-by: Jan Engelhardt <[email protected]> commit b4397f580e6eb3f20e8c433833be20283b44a3bc Author: Stephen Hemminger <[email protected]> Date: Wed May 19 08:58:13 2010 -0700 Update kernel derived headers Version for 2.6.35 version on -next commit d248a8fe23d7c9f798c6d28a9598ea1b8170d4db Author: Stephen Hemminger <[email protected]> Date: Wed May 19 08:32:43 2010 -0700 v2.6.34 commit 704f4df4772da63fc2bf4c0d7aa3e29102cb2737 Author: Stephen Hemminger <[email protected]> Date: Wed May 19 08:30:09 2010 -0700 ip: add documentation for initrwnd Cloned from ip-cref.tex commit 6299857dd5649692a96bc5279a804d032d0752eb Author: Brian Bloniarz <[email protected]> Date: Wed May 5 21:37:40 2010 -0400 ip: document initcwnd Mention initcwnd in ip(8). Text taken from doc/ip-cref.tex. Signed-off-by: Brian Bloniarz <[email protected]> commit 3fd86630876aed8a23e4f2c2d72e68cbb2ee331a Author: Chris Wright <[email protected]> Date: Tue May 18 00:57:00 2010 -0700 iproute2: rework SR-IOV VF support The kernel interface changed just before 2.6.34 was released. This brings iproute2 in line with the current changes. The VF portion of setlink is comprised of a set of nested attributes. IFLA_VFINFO_LIST (NESTED) IFLA_VF_INFO (NESTED) IFLA_VF_MAC IFLA_VF_VLAN IFLA_VF_TX_RATE Signed-off-by: Chris Wright <[email protected]> commit df33d7a489e13b69caa8b55064e01e99bdabef15 Author: Stephen Hemminger <[email protected]> Date: Mon May 17 09:50:17 2010 -0700 Add documentation for ip link add/delete sub-commands Add some missing pieces. Still need to add doucmentation for rest of vlan arguments. commit a171395410bb8a6428e099a5b9d55e35a86f3b24 Author: Stephen Hemminger <[email protected]> Date: Mon May 17 08:57:24 2010 -0700 Update kernel headers to 2.6.34 final version Last minute IOV format change. commit 24abb62ee737f98b4b5a7afc8b817cdb6eb53a46 Author: Florian Westphal <[email protected]> Date: Fri May 7 11:31:02 2010 +0000 iproute2: fix addrlabel interface names handling ip addrlabel outputs if%d names due to missing init call: $ ip addrlabel s prefix a::42/128 dev if4 label 1000 Also, ip did not accept "if%d" interfaces on input. Signed-off-by: Florian Westphal <[email protected]> commit 608a96c727db69498c1310f21e73045c95f2ad5d Author: Bart Trojanowski <[email protected]> Date: Mon Apr 19 09:12:57 2010 -0400 fix build issues with flex ver 2.5 When building on an old environment, the flex generated tc/emp_ematch.lex.c file would not compile. The error given was: emp_ematch.lex.c:1686: error: expected âÂÂ;âÂÂ, âÂÂ,â or âÂÂ)â before numeric constant The emp_ematch.l uses 'str' as a start symbol name, and flex would create a '#define str 1' statement. This particular version of flex, unfortunately, used 'str' as names of string variables in the generated parser functions. This is line 1686 in the generated file: YY_BUFFER_STATE ematch__scan_string (yyconst char * str ) This patch just substitutes 'str' for 'lexstr' in emp_ematch.l to avoid the collision. commit 4ec1933dfddfccb112f6664fa5466db548363f81 Author: Stephen Hemminger <[email protected]> Date: Thu Apr 22 15:24:37 2010 -0700 Update ip.8 man page to describe route table id values 2.6 kernel allows 2^32 route tables, but documentation stated only 255 values were possible. commit 3979ef91de9ed17d21672aaaefd6c228485135a2 Author: Alexandre Cassen <[email protected]> Date: Sun Apr 4 22:40:14 2010 +0200 Detect 6rd kernel missing support / 6rd tunnel scope This patch fix two issues: * If kernel is not supporting 6rd then ioctl() call will return EINVAL, if so just skip perror call. * 6rd scope is ipv6/ip tunnels. Dont try to fetch 6rd tunnel parms if tunnel protocol != IPPROTO_IPV6. Signed-off-by: Alexandre Cassen <[email protected]> commit ab814d635529787036b3caddb590034a4e6a48e6 Author: Andreas Henriksson <[email protected]> Date: Mon Apr 12 20:24:23 2010 +0200 iproute2: add option to build m_xt as a tc module (v3) This will build the xt module (action ipt) of tc as a shared object that is linked at runtime by tc if used, rather then built into tc. This is similar to how the atm qdisc support is handled (q_atm.so). Signed-off-by: Andreas Henriksson <andr...@xxxxxxxx> http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hãd153c1fb35ec5d5f4ce197afb4cb13093ce534 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h833d1b381f468c8744f786061b36b7a4c2572a http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h,6fb2db080281778e2fe6bb65c561ad36be5b2f http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hûc0f876fa011ef5f848911bd41b3033bf418bab http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h7943bcf3edbe160747eee6d2037f5da1af6502 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hK45abd1f000f62df9b624e393d9f3d62751a266 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hMbda0f482b8947d064b3f82992394033de6616c http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hc0e899e13f01e44e8111179910e5d57ced2c4a http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h56412215abec067ff08d760f454adbccb9a13f http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h¿512683e07796af0d8a1dd33e572d319ddb3895 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hÞc01609dc62d2137ed83c8ebccd2eef49d7aa97 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h 1c9b570a40e3eef8c053a229713ac9344a4f83 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hb011a0b31009a16518e0b17ba7205349a4b2a72 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h.ca8d3d3e3ae21918132c9118a2605d32aaed02 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hD7928279c88b6581ae4cdc1b5ac0a9e755aff64 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h¶c8e808fcea80da8bb97078ff942a0b9001e1c1 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h64ac9dc5bd5ce049280337deb21191673a02d0 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h´397f580e6eb3f20e8c433833be20283b44a3bc http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hÒ48a8fe23d7c9f798c6d28a9598ea1b8170d4db http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hp4f4df4772da63fc2bf4c0d7aa3e29102cb2737 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hb99857dd5649692a96bc5279a804d032d0752eb http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h?d86630876aed8a23e4f2c2d72e68cbb2ee331a http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hß33d7a489e13b69caa8b55064e01e99bdabef15 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h¡71395410bb8a6428e099a5b9d55e35a86f3b24 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h$abb62ee737f98b4b5a7afc8b817cdb6eb53a46 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h`8a96c727db69498c1310f21e73045c95f2ad5d http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;hNc1933dfddfccb112f6664fa5466db548363f81 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h979ef91de9ed17d21672aaaefd6c228485135a2 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h«814d635529787036b3caddb590034a4e6a48e6
_______________________________________________ svn mailing list [email protected] http://mailman.vyatta.com/mailman/listinfo/svn
