From: David S. Miller Date: Sun, 2 Oct 2022 15:07:17 +0000 (+0100) Subject: Merge branch 'tc-bind_class-hook' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9d43507319cc256c8383e3e2dcc394b458b7aa37;p=linux.git Merge branch 'tc-bind_class-hook' Zhengchao Shao says: ==================== refactor duplicate codes in bind_class hook function All the bind_class callback duplicate the same logic, so we can refactor them. First, ensure n arg not empty before call bind_class hook function. Then, add tc_cls_bind_class() helper. Last, use tc_cls_bind_class() in filter. ==================== Signed-off-by: David S. Miller --- 9d43507319cc256c8383e3e2dcc394b458b7aa37