]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: cls_api: introduce tc_cls_bind_class() helper
authorZhengchao Shao <shaozhengchao@huawei.com>
Tue, 27 Sep 2022 12:48:54 +0000 (20:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Oct 2022 15:07:17 +0000 (16:07 +0100)
commitf36b27e282b616e9c4934b122b110532b83bb711
tree3f4bd5827e667da6cadc8af8270d0c0313553971
parent5916b70ebb964b33a10d1fabb47e1f0372a204d5
net: sched: cls_api: introduce tc_cls_bind_class() helper

All the bind_class callback duplicate the same logic, this patch
introduces tc_cls_bind_class() helper for common usage.

Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h