]> git.ipfire.org Git - people/arne_f/kernel.git/commit
net: sched: replace nprio by a bool to make the function more readable
authorJiri Pirko <jiri@mellanox.com>
Wed, 17 May 2017 09:07:57 +0000 (11:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 May 2017 19:22:13 +0000 (15:22 -0400)
commit9d36d9e545dce53c6fff046b277c261d6568c5b9
treee13507fc16211a3f250a674ee8ea9b80838b1405
parentfbe9c5b01f97b44b1e4c7d86c092beaf707d4b9d
net: sched: replace nprio by a bool to make the function more readable

The use of "nprio" variable in tc_ctl_tfilter is a bit cryptic and makes
a reader wonder what is going on for a while. So help him to understand
this priority allocation dance a litte bit better.

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