[ovs-git] Open vSwitch: netdev-linux: Improve netdev_linux_set_etheraddr(). (master)

dev at openvswitch.org dev at openvswitch.org
Fri Oct 2 18:04:15 UTC 2009


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  eb395f2ebf46888353e5966dd7969a1c49402334 (commit)
      from  c0e5f6cabeeb8153144fead66c1f37a5014d9060 (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 eb395f2ebf46888353e5966dd7969a1c49402334
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=eb395f2ebf46888353e5966dd7969a1c49402334
Author: Ben Pfaff <blp at nicira.com>
		
netdev-linux: Improve netdev_linux_set_etheraddr().
		
Fixes a bug whereby netdev_linux_set_etheraddr() would update the cached
Ethernet address but not mark it valid.  (This potentially wasted a system
call later but wasn't harmful.)

As an added optimization, don't set the Ethernet address at all if the
new address is the same as the current address.


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

Summary of changes:
 lib/netdev-linux.c |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list