net: sched: introduce chain object to uapi
authorJiri Pirko <jiri@mellanox.com>
Mon, 23 Jul 2018 07:23:06 +0000 (09:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jul 2018 03:44:12 +0000 (20:44 -0700)
commit32a4f5ecd7381f30ae3bb36dea77a150ba68af2e
treeb6d291d08192b09e78cd72791b53b53e3852af65
parentf71e0ca4db187af7c44987e9d21e9042c3046070
net: sched: introduce chain object to uapi

Allow user to create, destroy, get and dump chain objects. Do that by
extending rtnl commands by the chain-specific ones. User will now be
able to explicitly create or destroy chains (so far this was done only
automatically according the filter/act needs and refcounting). Also, the
user will receive notification about any chain creation or destuction.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h
include/uapi/linux/rtnetlink.h
net/sched/cls_api.c
security/selinux/nlmsgtab.c