]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sched: push TC filter protocol creation into a separate function
authorJiri Pirko <jiri@mellanox.com>
Thu, 9 Feb 2017 13:38:57 +0000 (14:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 16:38:08 +0000 (11:38 -0500)
commit33a48927c193d030c80ecaeb3e021b7ed85f9c78
tree638ffd395254369e7dbce8da7973a36f0d0b01fa
parentcf1facda2f61bc3e9ffd985b6d624dec6ad3f279
sched: push TC filter protocol creation into a separate function

Make the long function tc_ctl_tfilter a little bit shorter and easier to
read. Also make the creation of filter proto symmetric to destruction.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c