Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 2519a60 ('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>
- Loading branch information