sched: move err set right before goto errout in tc_ctl_tfilter
authorJiri Pirko <jiri@mellanox.com>
Thu, 9 Feb 2017 13:38:58 +0000 (14:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 16:38:09 +0000 (11:38 -0500)
commit6bb16e7ae26095892e8c51de4142d8f344793340
treef8f63c92d59bce37090234b58ba8c3b160c03d84
parent33a48927c193d030c80ecaeb3e021b7ed85f9c78
sched: move err set right before goto errout in tc_ctl_tfilter

This makes the reader to know right away what is the error value.

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