Jiri Pirko b0ab2fabb5 rtnetlink: allow to register ops without ops->setup set
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-01 14:40:17 -07:00
..
2014-06-21 15:12:13 -07:00
2014-06-27 15:53:35 -07:00
2014-05-30 17:48:58 -07:00
2014-06-04 22:46:38 -07:00
2014-06-04 22:46:38 -07:00
2014-07-01 14:20:32 -07:00
2014-04-16 15:15:05 -04:00