summaryrefslogtreecommitdiffstats
path: root/net/tipc/discover.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-06-26 09:58:25 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-01 14:40:17 -0700
commitb0ab2fabb5b91da99c189db02e91ae10bc8355c5 (patch)
treed3d9aa5bb93078b5fcf027c38a18fba652e5007b /net/tipc/discover.c
parent9bf2b8c280b5c02ca8a9e75263bf3ca998fed144 (diff)
downloadlinux-stable-b0ab2fabb5b91da99c189db02e91ae10bc8355c5.tar.gz
linux-stable-b0ab2fabb5b91da99c189db02e91ae10bc8355c5.tar.bz2
linux-stable-b0ab2fabb5b91da99c189db02e91ae10bc8355c5.zip
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>
Diffstat (limited to 'net/tipc/discover.c')
0 files changed, 0 insertions, 0 deletions