From: Wei Yongjun Date: Fri, 17 Jan 2014 01:53:20 +0000 (+0800) Subject: net_sched: fix error return code in fw_change_attrs() X-Git-Tag: v3.14-rc1~94^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=722e47d7929b40f58c2ad609429c7293e41ca5a8;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed