summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorWei Yongjun2013-04-17 18:49:10 +0200
committerDavid S. Miller2013-04-19 23:34:53 +0200
commitcb95ec6261a205bde6451b972fbd6e1581608cae (patch)
tree9b1d579fab54f5759dab9386f3ba42523f20f688 /drivers/net/bonding
parentirda: small read past the end of array in debug code (diff)
downloadkernel-qcow2-linux-cb95ec6261a205bde6451b972fbd6e1581608cae.tar.gz
kernel-qcow2-linux-cb95ec6261a205bde6451b972fbd6e1581608cae.tar.xz
kernel-qcow2-linux-cb95ec6261a205bde6451b972fbd6e1581608cae.zip
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/net/bonding')
0 files changed, 0 insertions, 0 deletions