]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: alias action flags with TCA_ACT_ prefix
authorVlad Buslov <vlad@buslov.dev>
Tue, 24 Nov 2020 16:40:54 +0000 (18:40 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Nov 2020 20:34:44 +0000 (12:34 -0800)
commitb044ee66dd7870b372622eb826066776de67f2d4
treecdf4ac42e90f0b3f178d16cbb13d0f096ce8e5e6
parent3c6d44f108176a2cf52c662eacbe5da8d6c1c084
net: sched: alias action flags with TCA_ACT_ prefix

Currently both filter and action flags use same "TCA_" prefix which makes
them hard to distinguish to code and confusing for users. Create aliases
for existing action flags constants with "TCA_ACT_" prefix.

Signed-off-by: Vlad Buslov <vlad@buslov.dev>
Link: https://lore.kernel.org/r/20201124164054.893168-1-vlad@buslov.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/rtnetlink.h
net/sched/act_api.c