diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-04-17 20:49:10 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-20 01:34:53 +0400 |
commit | cb95ec6261a205bde6451b972fbd6e1581608cae (patch) | |
tree | 9b1d579fab54f5759dab9386f3ba42523f20f688 /drivers/pcmcia | |
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 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions