aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/gen_stats.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-06-26 03:58:25 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-01 17:40:17 -0400
commitb0ab2fabb5b91da99c189db02e91ae10bc8355c5 (patch)
treed3d9aa5bb93078b5fcf027c38a18fba652e5007b /net/core/gen_stats.c
parent9bf2b8c280b5c02ca8a9e75263bf3ca998fed144 (diff)
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/core/gen_stats.c')
0 files changed, 0 insertions, 0 deletions