lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1364920077.5113.185.camel@edumazet-glaptop>
Date:	Tue, 02 Apr 2013 09:27:57 -0700
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	David Miller <davem@...emloft.net>
Cc:	vfalico@...hat.com, netdev@...r.kernel.org,
	stephen@...workplumber.org, Jiri Pirko <jiri@...nulli.us>
Subject: Re: [PATCH net-next] bridge: remove a redundant synchronize_net()

On Tue, 2013-04-02 at 12:12 -0400, David Miller wrote:

> Note that we have a few spots now that do two synchronize_net()'s per
> opertaion, such as team port removal, and openvswitch has such a path
> as well.  They all are of the form:
> 
> 	netdev_rx_handler_unregister()
> 	...
> 	lots of other stuff
> 	...
> 	synchronize_net();
> 
> So might be harder to factor back out than this br_if.c case.
> 

Strange, I do see call_rcu() in openvswitch, not a synchronize_{net|
rcu}(). Probably OK to leave as is, as it's not a big deal.

I'll let Jiri handle the team driver change, as its not clear what
synchronize_rcu() call in team_port_del() is protecting



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ