Wei Yongjun 722e47d792 net_sched: fix error return code in fw_change_attrs()
The error code was not set if change indev fail, so the error
condition wasn't reflected in the return value. Fix to return a
negative error code from this error handling case instead of 0.

Fixes: 2519a602c273 ('net_sched: optimize tcf_match_indev()')
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-16 19:12:03 -08:00
..
2011-01-19 23:31:12 -08:00
2013-10-18 16:23:06 -04:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2014-01-06 15:13:01 -05:00
2014-01-06 15:13:01 -05:00
2013-06-11 02:51:03 -07:00
2012-04-01 18:11:37 -04:00
2013-12-31 13:50:57 -05:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00