From: Jiri Pirko Date: Thu, 26 Jun 2014 07:58:25 +0000 (+0200) Subject: rtnetlink: allow to register ops without ops->setup set X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~248 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ab2fabb5b91da99c189db02e91ae10bc8355c5;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed