aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2018-09-19 18:29:58 +0100
committerDavid S. Miller <davem@davemloft.net>2018-09-19 21:20:23 -0700
commit32c7fbc8ffd752c6aa05d2dd7c13b0f0aa00ddaa (patch)
tree157473a9668e4c646050954d8524c489809e4407 /net/ipv6/addrconf.c
parentnet: hns3: Fix client initialize state issue when roce client initialize failed (diff)
downloadlinux-dev-32c7fbc8ffd752c6aa05d2dd7c13b0f0aa00ddaa.tar.xz
linux-dev-32c7fbc8ffd752c6aa05d2dd7c13b0f0aa00ddaa.zip
net: hns3: Fix parameter type for q_id in hclge_tm_q_to_qs_map_cfg()
So far all the places calling hclge_tm_q_to_qs_map_cfg() are assigning an u16 type value to "q_id", and in the processing of hclge_tm_q_to_qs_map_cfg(), it also converts the "q_id" to le16. The max tqp number for pf can be more than 256, we should use "u16" to store the queue id, instead of "u8", which may cause data lost. Fixes: 848440544b41 ("net: hns3: Add support of TX Scheduler & Shaper to HNS3 driver") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions