Skip to content
Commit 9d435073 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parents bc37b24e cc9039a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment