[ovs-git] Open vSwitch: route-table: Handle route updates more robustly. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Jan 14 19:29:36 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  f0e167f0dbadbe2a8d684f63ad9faf68d8cb9884 (commit)
       via  db2dede403921e8935b53a07c9e908c05edd4c85 (commit)
       via  a132aa969e44d563df76f783935d48057e9378b2 (commit)
       via  8f5b651c0af0ef4b01f0c6ad8744078649b505d1 (commit)
      from  f632c8fc817ff5597007a795b51574bddd32563a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f0e167f0dbadbe2a8d684f63ad9faf68d8cb9884
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f0e167f0dbadbe2a8d684f63ad9faf68d8cb9884
Author: Ethan Jackson <ethan at nicira.com>
		
route-table: Handle route updates more robustly.
		
The kernel does not broadcast rtnetlink route messages in all cases
one would expect.  This can cause stale entires to end up in the
route table which may cause incorrect results for
route_table_get_ifindex() queries.  This commit causes rtnetlink
route messages to dump the entire route table on the next
route_table_get_ifindex() query.


commit db2dede403921e8935b53a07c9e908c05edd4c85
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=db2dede403921e8935b53a07c9e908c05edd4c85
Author: Ethan Jackson <ethan at nicira.com>
		
route-table: Process route messages more selectively.
		
This commit cleans up the routing table by preventing it from
processing messages which are not relevant for our purposes.


commit a132aa969e44d563df76f783935d48057e9378b2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a132aa969e44d563df76f783935d48057e9378b2
Author: Ethan Jackson <ethan at nicira.com>
		
lib: Simplify rtnetlink routing functionality.
		
This commit removes the rtnetlink-route module and replaces it with
a much simpler to use route-table module.  The route-table uses
rtnetlink to maintain a routing table which may be used to query
the egress interface of particular addresses.

This commit also converts netdev-vport to use the new route-table
module.


commit 8f5b651c0af0ef4b01f0c6ad8744078649b505d1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8f5b651c0af0ef4b01f0c6ad8744078649b505d1
Author: Ethan Jackson <ethan at nicira.com>
		
retnetlink: Add rtnetlink_destroy function.
		
This commit adds a function to rtnetlink which may be used to
destroy struct rtnetlink handles.  This function will be used in a
future commit.


-----------------------------------------------------------------------

Summary of changes:
 lib/automake.mk                 |    4 +-
 lib/netdev-vport.c              |  179 +++------------------
 lib/route-table.c               |  347 +++++++++++++++++++++++++++++++++++++++
 lib/{random.h => route-table.h} |   23 ++--
 lib/rtnetlink-route.c           |  119 -------------
 lib/rtnetlink-route.h           |   55 ------
 lib/rtnetlink.c                 |   14 ++-
 lib/rtnetlink.h                 |    1 +
 8 files changed, 396 insertions(+), 346 deletions(-)
 create mode 100644 lib/route-table.c
 copy lib/{random.h => route-table.h} (63%)
 delete mode 100644 lib/rtnetlink-route.c
 delete mode 100644 lib/rtnetlink-route.h


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list