iproute2/lib
Ben Greear 3bc1c4f297 iproute2: Fix filtering related to flushing IP addresses.
The old 'ip addr flush' logic had several flaws:

* It reversed logic for primary v/s secondary flags
  (though, it sort of worked right anyway)

* The code tried to remove secondaries and then primaries,
  but in practice, it always removed one primary per loop,
  which not at all efficient.

* The filter logic in the core would run only the first
  filter in most cases.

* If you used '-s -s', the ifa_flags member would be
  modified, which could make future filters fail
  to function fine.

This patch attempts to fix all of these issues.

Tested-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-08-23 08:10:32 -07:00
..
Makefile iproute2: use -fPIC in lib/ 2009-12-01 16:17:59 -08:00
dnet_ntop.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
dnet_pton.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
inet_proto.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
ipx_ntop.c Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ipx_pton.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
libnetlink.c iproute2: Fix filtering related to flushing IP addresses. 2010-08-23 08:10:32 -07:00
ll_addr.c iproute2: Format IPv6 tunnels endpoints nicely. 2007-06-19 16:29:05 -07:00
ll_map.c iproute2: fix addrlabel interface names handling 2010-05-13 09:23:46 -07:00
ll_proto.c Add support Controller Area Network 2009-03-27 11:21:29 -07:00
ll_types.c Update ARP header type table 2010-07-23 13:12:12 -07:00
rt_names.c Add DHCP as routing protocol 2009-03-18 13:33:12 -07:00
utils.c Remove Changes: comments 2009-12-01 15:49:48 -08:00