[ovs-git] Open vSwitch: netdev-linux: Ref and unref the netdev_linux_cache_notifier for taps too. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Dec 2 18:41:59 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  1f6e0fbd81b8f1786be0232f83792170a9f476d3 (commit)
      from  e1cf87ff60e7f61fe3b7137463f7c42439f88323 (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 1f6e0fbd81b8f1786be0232f83792170a9f476d3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1f6e0fbd81b8f1786be0232f83792170a9f476d3
Author: Ben Pfaff <blp at nicira.com>
		
netdev-linux: Ref and unref the netdev_linux_cache_notifier for taps too.
		
netdev-linux uses netdev_linux_cache_notifier to flush its cache when the
kernel notifies userspace that a particular network device's configuration
or status has changed.  This is as applicable to tap devices as to system
and internal devices, so we should create and destroy the notifier for
tap devices also.

I doubt that in practice it's possible to run ovs-vswitchd without having
a non-tap device open, at least with the kernel datapath, because the
local port for a bridge is not a tap device, so there should be no need to
backport this to older versions.

Reported-by: Gaetano Catalli <gaetano.catalli at gmail.com>


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

Summary of changes:
 lib/netdev-linux.c |   61 +++++++++++++++++++++++++++++++++++-----------------
 1 files changed, 41 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list