Thread (5 messages) flat view 5 messages, 3 authors, 2014-06-26

Re: [patch net-next v2 1/2] rtnetlink: allow to register ops without ops->setup set

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2014-06-25 18:45:05

On Wed, 25 Jun 2014 18:58:22 +0200
Jiri Pirko [off-list ref] wrote:
So far, it is assumed that ops->setup is filled up. But there might be
case that ops might make sense even without ->setup. In that case,
forbid to newlink and dellink.

This allows to register simple rtnl link ops containing only ->kind.
That allows consistent way of passing device kind (either device-kind or
slave-kind) to userspace.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Can't we fix these kind of devices to all create/delete. At least
allow delete.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help