commit | cb95ec6261a205bde6451b972fbd6e1581608cae | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Wed Apr 17 16:49:10 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 19 17:34:53 2013 -0400 |
tree | 9b1d579fab54f5759dab9386f3ba42523f20f688 | |
parent | e15465e1808542743627f13d1c0cbb7eacc82b83 [diff] |
pkt_sched: fix error return code in fw_change_attrs() Fix to return -EINVAL when tb[TCA_FW_MASK] is set and head->mask != 0xFFFFFFFF instead of 0 (ifdef CONFIG_NET_CLS_IND and tb[TCA_FW_INDEV]), as done elsewhere in this function. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>