Commit Graph

72 Commits

Author SHA1 Message Date
openharmony_ci 04364e52ac !44 解决NewIP getsockopt TCP_MD5SIG空指针引用问题
Merge pull request !44 from liangbotong/master
2023-09-11 09:27:10 +00:00
liangbotong e4d16ee37d Resolve the getsockopt TCP_MD5SIG null pointer reference problem
Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-09-11 15:47:20 +08:00
openharmony_ci f573b060ce !43 解决newip空指针被引用的问题
Merge pull request !43 from liangbotong/master
2023-09-06 06:10:12 +00:00
liangbotong 157182c68e Resolve the NEWIP null pointer reference problem
Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-09-05 19:59:05 +08:00
openharmony_ci 4e21b4b83d !42 解决skb_len翻转导致的读越界
Merge pull request !42 from liangbotong/master
2023-09-01 01:52:19 +00:00
liangbotong 65eed81296 Resolved read out of bounds caused by skb_len flip
Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-08-31 16:35:18 +08:00
openharmony_ci c166b84a9a !41 Improve input parameter validation and fix some code style issues in newip
Merge pull request !41 from liangbotong/master
2023-08-29 12:22:37 +00:00
liangbotong ca107c3348 Improve input parameter validation and fix some code style issues in newip
Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-08-28 20:19:07 +08:00
openharmony_ci 2573be877d !40 NewIP code security issue remediation
Merge pull request !40 from liangbotong/master
2023-08-28 08:24:49 +00:00
liangbotong fb564f4389 NewIP code security issue remediation
1.Resolve stack overflow issue in parsing ICMP packets in newip.
2.Resolve negative overflow issue in parsing UDP packets in newip.
3.Resolve unchecked data reception issue in nip_rcv.

Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-08-28 10:27:42 +08:00
openharmony_ci 2e0cbdff34 !39 Add NewIP debug log
Merge pull request !39 from liangbotong/master
2023-08-21 09:34:45 +00:00
liangbotong 226f419a33 Add NewIP debug log
Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-08-21 13:07:11 +08:00
openharmony_ci 188d77aad1 !37 fix NewIP coding style problem
Merge pull request !37 from liangbotong/master
OpenHarmony-v4.0-Release
2023-08-04 01:30:46 +00:00
liangbotong 881f73c50c fix NewIP coding style problem
Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-08-03 11:52:14 +08:00
openharmony_ci 7fe43094b0 !36 Performance Optimization of NewIP Congestion Control Algorithm
Merge pull request !36 from liangbotong/master
2023-08-01 07:28:57 +00:00
liangbotong bbe2a7288c Performance Optimization of NewIP Congestion Control Algorithm
1. NewIP dynamic rto
2. bw window control

Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-08-01 14:35:35 +08:00
openharmony_ci c7707713e8 !29 支持运行时文件验签
Merge pull request !29 from zhushengle/sign_verity
OpenHarmony-v4.0-Beta2
2023-07-07 07:38:54 +00:00
zhushengle 8697e002af feat: xpm支持文件验签
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I6362e58030b126f33320654bb0034c06e2ede6a1
2023-07-06 14:51:29 +08:00
openharmony_ci f9216edf88 !34 NEWIP HOOKS恢复默认开启、支持单播方式发送NS
Merge pull request !34 from liangbotong/master
2023-07-03 11:08:27 +00:00
liangbotong 04a1eab82e NewIP config file and NS modification
1.config NewIP HOOKS are enabled by default.
2.Use unicast to send NS to update the status of neighbor table entries.

Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-07-03 17:00:47 +08:00
openharmony_ci 6f307ceb5b !32 fix: 规范告警清零
Merge pull request !32 from zhushengle/codecheck
2023-06-30 01:06:58 +00:00
openharmony_ci d1fbd4c06c !30 NewIP code problem modification
Merge pull request !30 from liangbotong/master
2023-06-29 12:13:06 +00:00
zhushengle 6b8ff51ead fix: 规范告警清零
Close #I7GNQH

Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I985717fda8845c311fe2cbbacf10cf7b513112d8
2023-06-29 15:47:50 +08:00
openharmony_ci 572a1ad4c3 !33 修改xpm编码规范
Merge pull request !33 from 团辉/master
2023-06-29 07:41:52 +00:00
liangbotong 0586699f1c NewIP code problem modification
1.add HCK lite vendor hook for NewIP
2.Code specification check and rectify

Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-06-29 11:39:44 +08:00
limerence 81f54ec9ed fix xpm coding style problem
Signed-off-by: limerence <shituanhui@huawei.com>
2023-06-28 17:01:37 +08:00
openharmony_ci 829014ab7c !31 32位机适配
Merge pull request !31 from Ywenrui44091/master
2023-06-26 15:32:09 +00:00
Ywenrui44091 c1902872b7 32位机适配修改
Signed-off-by: Hu Zhaodong <huzhaodong@huawei.com>

Signed-off-by: Ywenrui44091 <yaowenrui2@huawei.com>
2023-06-26 22:09:33 +08:00
openharmony_ci 1cbe2a4957 !27 btdev code view problem modification, debug rectification
Merge pull request !27 from YangYanJun/master
2023-06-20 13:54:28 +00:00
openharmony_ci 9eaea33fa5 !28 NewIP code problem modification
Merge pull request !28 from liangbotong/master
2023-06-20 01:41:12 +00:00
liangbotong 15037e930b NewIP code problem modification
1.Add the log information about the NewIP route exception branch
2.Code specification check and rectify

Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-06-19 20:08:40 +08:00
yangyanjun 0050a26b5b btdev code view problem modification, debug rectification
1. bt_io_file_write function call copy_from_user branch failure need to release skb.
2. The branch that bt_io_file_read fails to call copy_to_user needs to release skb, because skb has been unchained from ring buf.
3. The bt_cmd_peek_packet function only obtains the skb data length. After put_user fails, the skb does not need to be released.
4. The bt_cmd_create_virnet function bt_get_unused_id may return an invalid id, and add the if judgment that the id is less than 0.
5. The branch of bt_cmd_create_virnet function copy_to_user that fails needs to release bt_table_remove_device.
6. bt_table_add_device and bt_table_remove_device functions to tbl->num variable ++ and -- operation to increase the validity judgment, avoid flipping.
7. __bt_ring_create function if (unlikely(size < 0)) branch has memory leaks, modified to determine the validity of the input parameter, and then apply for memory.
8. Both bt_ring_is_empty and bt_ring_is_full return true for invalid branches.
9. bt_virnet_produce_data adds a memory barrier before and after calling bt_ring_produce, and bt_ring_produce already has a memory barrier. Delete the redundant memory barrier.
10. The vnet->tx_queue variable is a redundant operation and has no practical effect. Delete all codes corresponding to the variable to improve the efficiency of receiving and sending packets on the btdev virtual device.
   bt_virnet_create deletes init_waitqueue_head(&vnet->tx_queue);
   bt_io_file_poll deletes poll_wait(filp, &vnet->tx_queue, wait);
11. Change the global variable name to g_xxx
12. atomic operation process xx_open_limit variable value changes add annotation
13. debug rectification, the normal path is closed by default (shell can be opened), and the abnormal path is opened by default. At the same time, key information such as btdev interface name printing and data length are added to the interface open, delete, and packet sending functions.

Signed-off-by: yangyanjun <yangyanjun@huawei.com>
2023-06-19 20:00:05 +08:00
openharmony_ci 835c5266ea !26 security remediation of NewIP code
Merge pull request !26 from liangbotong/master
2023-06-16 03:02:38 +00:00
liangbotong e07521c607 security remediation of NewIP code
Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-06-15 11:41:25 +08:00
openharmony_ci c182554852 !25 NewIP rto and license adjustment
Merge pull request !25 from liangbotong/master
2023-06-09 02:37:39 +00:00
liangbotong 5724c78633 NewIP rto and license adjustment
1. The header comment contains the copyright license, feature description, author, and creation date.
2. The NewIP rto is changed to 20.

Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-06-08 09:48:28 +08:00
openharmony_ci 352d76ff66 !24 add "WITH Linux-syscall-note" for nip_addr.h license
Merge pull request !24 from liangbotong/master
2023-06-01 06:59:16 +00:00
liangbotong eaadb5db4d add nip_addr.h license
add "WITH Linux-syscall-note" for nip_addr.h license

Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-06-01 13:49:05 +08:00
openharmony_ci 429aac20f2 !23 add annotating code for NewIp vendor hooks and adjust the NewIP ioctl entry
Merge pull request !23 from liangbotong/master
2023-05-31 11:26:41 +00:00
liangbotong 74df9caea1 adjust the NewIP ioctl entry
avoiding memory leaks caused by CAP_NET_ADMIN

Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-05-31 17:06:22 +08:00
openharmony_ci 4b5900a141 !22 README格式修复
Merge pull request !22 from 万晓庆/master
2023-05-26 07:02:59 +00:00
liangbotong fcdfd42898 add annotating code for NewIp vendor hooks
Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-05-26 10:23:30 +08:00
openharmony_ci 03c3345c2f !21 NewIP code rectification
Merge pull request !21 from liangbotong/master
2023-05-26 02:12:30 +00:00
liangbotong 2717358eda NewIP code rectification
1. The header comment contains the copyright license, feature description, author, and creation date
2. Rectification of code specification problems

Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-05-25 20:28:57 +08:00
wanxiaoqing40281 c961c56282 README格式修复
Signed-off-by: wanxiaoqing40281 <wanxiaoqing@huawei.com>
2023-05-25 16:22:46 +08:00
openharmony_ci 2f8b99569f !20 sched: add qos ctrl and authority ctrl for FFRT
Merge pull request !20 from 万晓庆/master
2023-05-25 07:31:30 +00:00
Huzhaodong 90dc7a386f sched: add qos ctrl and authority ctrl for FFRT
ohos inclusion
category: feature
issue: #I76RYD
CVE:NA

Signed-off-by: Huzhaodong <huzhaodong@huawei.com>
2023-05-25 11:11:50 +08:00
openharmony_ci ba69769e27 !19 btdev code rectification
Merge pull request !19 from liangbotong/master
2023-05-22 09:56:03 +00:00
liangbotong 924323cbcc btdev code rectification
1. The header comment contains the copyright license, feature description, author, and creation date
2. Rectification of deep nesting of code blocks of functions
3. Rectification of code specification problems
4. Rectify resource leakage
5. Rectifying reliability risks

Signed-off-by: liangbotong <liangbotong@huawei.com>
2023-05-22 16:19:39 +08:00
openharmony_ci af27f4af85 !17 代码执行权限内核模块限定支持64bit
Merge pull request !17 from 团辉/master
OpenHarmony-v4.0-Beta1
2023-05-10 10:10:43 +00:00