misc/ss.c | 134 ++++++++++++++++++++++++++++++++++++++++----------------- netem/Makefile | 4 - tc/f_u32.c | 17 +++---- tc/m_action.c | 2 4 files changed, 108 insertions(+), 49 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]> http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h=e3d153c1fb35ec5d5f4ce197afb4cb13093ce534 http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h=02833d1b381f468c8744f786061b36b7a4c2572a http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h=2c6fb2db080281778e2fe6bb65c561ad36be5b2f http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h=fbc0f876fa011ef5f848911bd41b3033bf418bab http://suva.vyatta.com/git/?p=vyatta-iproute.git;a=commitdiff;h=1a7943bcf3edbe160747eee6d2037f5da1af6502 _______________________________________________ svn mailing list [email protected] http://mailman.vyatta.com/mailman/listinfo/svn
