diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-04-17 16:49:10 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-19 21:34:53 (GMT) |
commit | cb95ec6261a205bde6451b972fbd6e1581608cae (patch) | |
tree | 9b1d579fab54f5759dab9386f3ba42523f20f688 /block/blk-softirq.c | |
parent | e15465e1808542743627f13d1c0cbb7eacc82b83 (diff) | |
download | linux-cb95ec6261a205bde6451b972fbd6e1581608cae.tar.xz |
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>
Diffstat (limited to 'block/blk-softirq.c')
0 files changed, 0 insertions, 0 deletions