diff options
author | Jiri Pirko <jiri@mellanox.com> | 2018-07-23 10:23:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-24 06:44:12 +0300 |
commit | f71e0ca4db187af7c44987e9d21e9042c3046070 (patch) | |
tree | 850a18e148bfd97fc67450e3568406ca3e1e784b /security/selinux/nlmsgtab.c | |
parent | f34e8bff58f071e1a3452a5a6e29dac218c83f69 (diff) | |
download | linux-f71e0ca4db187af7c44987e9d21e9042c3046070.tar.xz |
net: sched: Avoid implicit chain 0 creation
Currently, chain 0 is implicitly created during block creation. However
that does not align with chain object exposure, creation and destruction
api introduced later on. So make the chain 0 behave the same way as any
other chain and only create it when it is needed. Since chain 0 is
somehow special as the qdiscs need to hold pointer to the first chain
tp, this requires to move the chain head change callback infra to the
block structure.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux/nlmsgtab.c')
0 files changed, 0 insertions, 0 deletions