Thread (21 messages) 21 messages, 4 authors, 2019-02-26

Re: [PATCH net-next v3 5/6] devlink: hold a reference to the netdevice around ethtool compat

From: Jakub Kicinski <hidden>
Date: 2019-02-26 03:07:50

On Mon, 25 Feb 2019 10:31:27 -0800, Jakub Kicinski wrote:
+static bool devlink_is_registered(struct devlink *devlink)
+{
+       return list_empty(&devlink->list);
+}
Nevermind, this won't really help the drivers that much, those
registering devlink after netdevs will have to take care of the
potential race by marking the devlink instance as dead in their priv
data structure from the thread doing the devlink_unregister, using
their own locking.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help