linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
Yufeng Mo 7ac243f99d net: hns3: add input length check for debugfs write function
If the input length reaches the maximum value of size_t, the reverse is
triggered when 1 is added. In addition, there is no need to have such a
large length. Therefore, the input length should be checked and the value
should be less than or equal to 1024.

Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Reviewed-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-09 13:44:32 -07:00
..
hns3pf net: hns3: fix GFP flag error in hclge_mac_update_stats() 2019-08-09 13:44:32 -07:00
hns3vf net: hns3: fix interrupt clearing error for VF 2019-08-09 13:44:32 -07:00
hclge_mbx.h net: hns3: add handler for NCSI error mailbox 2019-08-01 13:32:12 -04:00
hnae3.c net: hns3: some variable modification 2019-06-14 19:26:16 -07:00
hnae3.h net: hns3: modify firmware version display format 2019-07-29 08:23:40 -07:00
hns3_dcbnl.c net: hns3: fix some coding style issues 2019-06-09 13:20:59 -07:00
hns3_debugfs.c net: hns3: add input length check for debugfs write function 2019-08-09 13:44:32 -07:00
hns3_enet.c net: hns3: clean up for vlan handling in hns3_fill_desc_vtags 2019-08-09 13:44:32 -07:00
hns3_enet.h net: hns3: refine for set ring parameters 2019-08-01 13:32:12 -04:00
hns3_ethtool.c net: hns3: refine for set ring parameters 2019-08-01 13:32:12 -04:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00