lwipold_change_log_history.md 21 KB

(8910_master lwip modify the summary)

2018-07-10: tjhaoli

  • api_msg.c: (Add the cfw socket api reference.) commit-ID: 7fd9336e69

2018-10-18: shaoboan(未合入)

  • ppp.c: Fixed Bug (fix ppp stress test crash bug) commit-ID:1ce6588b8f

2018-12-10: Eric Guo(未合入)

  • ppp.c: Fixed Bug #975440 (avoid dead lock in PS IPC driver) There are several dead lock in PS IPC driver:

    • When there are no uplink buffer, write will wait. In case of PPP application, both write and read are performed on AT thread. The waiting will make AT thread not to read from PS IPC.
    • The PS IPC callback is called with lock hold. When AT thread is busy, send event to AT thread may be blocked. And then PS IPC read write will be blocked also, due to can't get the lock. Now, callback are called without lock. It will be unsafe for PS IPC interface delete. So, PS IPC interfaces are changed from create/delete to open/close. Event an interface is closed, the pointer itself is valid.

    • Also, add a feature to trigger AP assert when IDLE_RES0 is written to 0xdead. It is useful to debug AT thread infinite loop or dead lock.

    • Enlarge trace buffer from 32KB to 64KB.

    • Some trace cleanup to reduce default trace. commit-ID: 3bedd5975d

2019-08-06: wei.sun2

  • ppp-fsm.c: Fixed Bug #1137129 (Add protect to not run fsm_timeout callback if fsm timer is canceled.) commit-ID: 279418b495

2018-08-10: shaoboan(未合入)

  • ppp.c: Fixed Bug (add ppp module) commit-ID: 0667b25e6e

2018-08-14: shaoboan

  • ppp.c: Fixed Bug (modify netif create and netif destory) commit-ID: 64647fe84a

2018-08-17: shaoboan(未合入)

  • ppp.c: Fixed Bug ( modify ppp lib , now ppp is ok to connect) commit-ID: 2d03fd1289

2018-09-12: Guo Chao

  • api_msg.c: (Replace cos prefix to osi) commit-ID: 389197d14c

2018-10-07: Guo Chao

  • tcpip.c: Fixed(Cleanup cfw for 8909L) commit-ID: bb3187162f

2018-10-19: shaoboan

  • ppp.c: Fixed Bug (When ppp_close , netif is freed before pppdestory. Free netif in pppdestory.) commit-ID: 7031fa48ee

2018-10-26: xiwenmao

  • ppp.c: Fixed Bug (fix long ppp netbuf data read from IPC error) commit-ID: 5b96d897e3

2018-10-26: shaoboan

  • netif.c,ppp.c/ppp.h,lcp.c: (fix GPRS_DEVICE_IND ppp unclose bug) issue: When network is invalid , ppp should auto close. solution:Add auto close function commit-ID: 9bcc0c53f6

2018-11-16: jialiu

  • sockets.c: Fixed (add mynet tcpip at commands add getmss api) commit-ID: 7c7cc2e67c

2018-11-23: Guo Chao

  • api_msg.c: (Retire cswtype.h) commit-ID: 74a7abe750

2018-12-12: xiwenmao

  • api_lib.c, dns.c: Fixed bug #975615 (fix AT+CDNSGIP return error ip when input host name is IPaddr) commit-ID:ccfff03feb

2019-01-16: shaobo.an(未合入)

  • pbuf.c: Fixed bug #1002576 (add new log) commit-ID: 01b8fa2753

2019-01-16: shaobo.an(未合入)

  • pbuf.c: Fixed bug #1002427 (add new log) commit-ID: 35552ca189

2019-01-18: shaobo.an(未合入)

  • pbuf.c: Fixed bug #1002576 (modify debug printf) commit-ID: 582393898b

2019-01-18: shaobo.an(未合入)

  • pbuf.c: Fixed bug #1002427 (modify debug printf) commit-ID: c021e16974

2019-03-18: xiwenmao

  • api_lib.c,dns.c,netif.h: Fixed bug #1027175 (add IPV6 DNS and netif in lwip) commit-ID: 7575fbe62a

2019-03-22: xiwenmao

  • icmp.c: Fixed Bug#1032724 (fix crash after receive wrong ICMP package) commit-ID:269880ff8f

2019-03-22: xiwenmao

  • icmp.c: Bug #1032724 (fix crash after receive wrong ICMP package) commit-ID:32768bc4cc

2019-04-24: feng.liu

  • ppp-fsm.c: Fixed Bug #1044255 (reconnect fail problem) commit-ID: 53737596c1

2019-04-29: xiwenmao

  • nd6.c: Bug #1051905 (do not send RS package in test mode) commit-ID: ba8ee1f4ad

2019-04-29: xiwen.mao(未合入)

  • pbuf.c: Fixed bug #1054245 (remove some print for rate test) commit-ID: d0ebee80f6

2019-05-06: jialiu

  • sockets.c/sockets.h: Fixed Bug #1037448 (modify mynetack display when socket is not opened) commit-ID: 5573682d92

2019-05-06: xiwenmao

  • nd6.c:Bug #1064307 (do not deactive pdp in testmode in nd6_tmr) commit-ID:0794c2f9d2

2019-05-08: xiwenmao

  • tcp.c: Fixed Bug #1066224 (return err_code to app if IPV6 route error) commit-ID: 1b781c011a

2019-05-08: Xianyong.Cheng

  • dns.c: Fixed bug #1063816 (coverity fix OVERRUN issue) commit-ID: 3265b26282

2019-05-08: Xianyong.Cheng

  • dhcp.c: Bug #1063818 (coverity fix OVERLAPPING COPY issue) commit-ID:34e65881eb

2019-05-17: wei.sun2

  • ppp-fsm.c: Fixed Bug #1070874 (appanic when pppos_input after ppp_free) commit-ID: 0e6bf2ff3d

2019-05-18: xiwenmao

  • sockets.c: Fixed Bug #1027175 (enable LWIP_IPV6, fix build error) commit-ID: 69b9311da1

2019-05-21: xiwenmao

  • tcp_out.c: Fixed Bug #1076004 (fix NULL pointer crash in tcp data send) commit-ID: a7f63d7091

2019-05-30: xiwenmao

  • tcp.c: Fixed Bug #1083660 (Add core locking for tcp timer callback) commit-ID: d17ea5e55e

2019-06-14: xiwenmao

  • dns.c: Fixed bug #1096062 (return err immediately in DNS if no netif) commit-ID: 5c7ba959df

2019-07-01: xiwenmao

  • dns.c: Fixed bug #1107467 (fix dns crash when get dns package from different dns server with default server) commit-ID: bec7010226

2019-07-01: jialiu

  • api_msg.c: Fixed bug #1103487 (change order between send rsp and release signal) commit-ID: 10fb2860e9

2019-07-05: cui.liangjin

  • ppp.c: Fixed Bug #1096838 (lcpEchoRequset send in at thread) commit-ID: 165f8e03be

2019-07-09: xiwenmao

  • nd6.c: Bug #1112829 (improve ipv6 prefix get speed) commit-ID: b0c84e60fa

2019-07-09: xiwenmao

  • api_lib.c,netif.c: Fixed bug #1112939 (fix dns get wrong type ip_addr when active multi-PDP) commit-ID: 87c6862a2e

2019-07-21: wei.sun2

  • ppp-fsm.c: Fixed Bug #1120733 (Add protect to not run fsm_timeout callback if fsm timer is canceled.) commit-ID: 37cf069cf5

2019-07-26: xiwen.mao

  • netif.c: Fixed bug #1094871 (do not set loopback netif to default netif) commit-ID: 1b37b2c4a6

2019-08-06: Xianyong.Cheng

  • ip6_addr.c: Fixed Bug#1136465 (fix coverity scan null pointer risk issue) commit-ID:9d67f8f6bb

2019-08-09: howie.li

  • netdb.c: Fixed Bug #1136463 (Fix the converity code scan issue of cid 39254.) commit-ID: ea37ea7c0d

2019-08-09: howie.li

  • tcp_in.c: Fixed Bug #1136467 (Fix the converity code scan issue of cid 39384.newlib alrerady fix) commit-ID: 3ef3505bc8

2019-08-09: xiwenmao

  • nd6.c: Bug #1136466 (Fix the converity code scan issue of cid 39760;39695.) commit-ID: ef5cd02f09

2019-08-09: howie.li

  • nd6.c: Fixed Bug#1136466 (Fix the converity code scan issue of cid 39760;39695.) commit-ID:af2a0e45ae

2019-08-13: jialiu

  • api_msg.c,sockets.c/sockets.h: Fixed bug #1136672 (add ipv6server support.) commit-ID: fa591130e9

2019-09-04: jialiu

  • tcp.c: Fixed Bug #1157424 (initiallize lpcb->netif_idx when listen) commit-ID: 2fa166165a

2019-09-20: jialiu

  • netif.c: Fixed bug #1170183 (midify mynetact read addr api) commit-ID: 357b573faa

2019-09-24: Xianyong.Cheng

  • api_lib.c: Fixed bug #1172034 (fix ipv6 domain http get failed issue dns query incorrect) commit-ID: f5ff7bfe20

2019-10-10: jialiu

  • ipv6.c: Bug #1175896 (return null when netif is loopback and the dest is a normal addr) commit-ID:50bec638ca

2019-10-15: xiwenmao

  • netif.c: Fixed bug #1173613 (Add multi-apn support) commit-ID: d3b3a11a2a

2019-11-16: wei.sun2

  • ppp-fsm.c: Fixed Bug #1124092 (remove globle var for support multi-ppp) commit-ID: 471952bfec

2019-11-31: xiwenmao

  • sockets.c/sockets.h: Fixed Bug #1186893 (fix NULL pointer crash) commit-ID: 15666ac7e8

2019-12-03: jialiu

  • tcp.c: Fixed Bug #1214316 Bug #1215000 (add listen socket recv bearing loosing event and add timeout in mynetopen) commit-ID: 1aa6bf1c17

2019-12-12: jialiu

  • api_msg.c: Fixed bug #1211720 (modify accept err abort.) commit-ID: 7a5c999384

2019-12-17: xiwenmao

  • sockets.c: Fixed Bug #1211024 (send data or close event if socket get data or closed by remote server before accept) commit-ID: 6c74c032ed

2020-01-02: xiwenmao

  • tcp.c: Fixed Bug #1354324 (add rng to generate random local port and ipid when bootup) commit-ID: 243c8f3f1c

2020-01-07: xiwenmao

  • tcp_out.c,tcp_in.c,tcp.c/tcp.h: Fixed Bug #1234271 (fix TCP timer not correct) commit-ID: db0e8aaa33

2020-01-13: xiwenmao

  • sockets.c: Fixed Bug #1211024 (change EV_CFW_TCPIP_REV_DATA_IND from event to notify) commit-ID: 474fbf0180

2020-01-14: howie.li

  • sockets.c: Fixed Bug #1211024 (Use the notify method to get data from lwip.) commit-ID: e8ea1c5491

2020-02-17: fei.pan(未合入)

  • sockets.c,tcp.c,udp.c...: Fixed Bug #1251375 (cut lwip log in 8811(amend X8_F to 02x..)) commit-ID: b112d518cd

2020-02-18: guangzu.sun(未合入)

  • sockets.c,tcp.c,udp.c...: Fixed Bug #1251393 (modify %s printf add lwip debug format) commit-ID: a6fa3f8867

2020-02-19: xiwenmao(未合入)

  • netdb.c: Fixed Bug #1251375 (cut lwip log in 8811(amend %s and format to raw.c)) commit-ID: eb9aae6ad1

2020-02-22: guangzu.sun(未合入)

  • sockets.c,tcp.c,udp.c...: Fixed Bug #1251393 (cut lwip debug module and add traceid) commit-ID: 4c78b3a40d

2020-02-25: xiwenmao(未合入)

  • sockets.c,tcp.c,udp.c...: Fixed Bug #1251393 ( change net debug string to traceID) commit-ID: d619a445cf

2020-03-18: jialiu

  • altcp_tls.c: Fixed Bug #1275113 (lwip_mqtts add altcp_mbedtls) commit-ID: 06d7a3a1ef

2020-04-15: fei.pan

  • ipv6.c: Bug #1298297 (at+ ping ipv6 failed after ppp) commit-ID:aaccf4b437

2020-04-13: jialiu

  • sockets.c: Fixed Bug #1295231 (modify msg peek while) commit-ID: 1db7b7b6d2

2020-04-11: wei.sun2

  • upap.c,ppp.c,auth.c: Fixed Bug #1285846 (add pap chap support for ppp dail) commit-ID: 922c9a4c94

2020-04-15: jialiu

  • altcp_tls.c: Fixed Bug #1275113 (lwip_mqtts add altcp_mbedtls) commit-ID: 99c552a2ca

2020-04-16: wei.sun2

  • sockets.c: Fixed Bug #1285846 (bug fix PAP CHAP for fibocom) commit-ID: c9112548f7

2020-04-21: howie.li

  • api_msg.c,sockets.c: Fixed bug #1299057 (Fix the download data is not full when run ftpget.) commit-ID: 4add08f0cd

2020-04-22: jialiu

  • dns.c: Fixed bug #1258641 (initial ip6_addr_t when get dns ipaddr) commit-ID: b83969eb9d

2020-04-28: xiwen.mao

  • udp.c,tcp.c/tcp.h: Fixed bug #1268700(Add NAT support) commit-ID: 8df61c0a4f

2020-05-23: jialiu

  • api_msg.c: Fixed bug #1271707 (initial lpcb and do not tcp_abort when close listen socket to fix crash.) commit-ID: 8aaa595a8c

2020-06-01: xiwenmao

  • sockets.c,api_msg.c: Fixed Bug #1330985 (fix null pointer crash in lwip_send) commit-ID: 7a1f32b3d0

2020-06-02: xiwenmao

  • sockets.c: Fixed Bug #1325976 (add tcp lock to protect multi-thread access) commit-ID: a8f09272b5

2020-06-02: xiwenmao

  • api_msg.c,sockets.c: Fixed Bug #1334252 (fix NULL pointer crash) commit-ID: aa6d1d8280

2020-06-04: fei.pan

  • api_lib.c,dns.c udp.c: Fixed bug #1331295 (AT/NET thread are out of sync,double free in dns reslove,causing crash) commit-ID: 29fb66ec30

2020-06-04: fei.pan

  • api_lib.c,dns.c udp.c: Fixed bug #1331295 (AT/NET thread are out of sync,double free in dns reslove,causing crash) commit-ID: eef555c282

2019-06-12: xiwenmao

  • nd6.c: Bug #1094062 (Do not deactive PDP if can not get IPV6 prefix) commit-ID: c4473eda29

2020-07-07: fei.pan

  • dns.c: Fixed bug #1356412 (using at+cdu active pdp,can not ping) commit-ID: ee62009e54

2020-07-07: fei.pan

  • ip4.c: Fixed Bug# 1359776 (rndis active pdp,ping IPv4 address not show error) commit-ID:50b13abf69

2020-07-09: xiwen.mao

  • ipv6.c: Bug #1362764 (add NET_LWIP_IPV6_ON in menuconfig) commit-ID:20cca3e40c

2020-07-11: xiwen.mao

  • dns.c: Fixed bug #1363911 (fix NULL pointer crash in dns_send) commit-ID: 9321d58311

2020-07-15: xiwenmao

  • upap.c: Fixed Bug #1365717 (fix RNDIS NAT download data size error) commit-ID: 8fe4335082

2020-07-15: fei.pan

  • ipv6_addr.c: Bug #1365831 (cfgimspdnmi read ipv6 address is not same with the set param) commit-ID:a0afee3a8b

2020-07-18: xiwenmao

  • ip4_frag.c.c: Fixed Bug #1349812 (fix lwip udp fragment out-of-order bug) commit-ID: 35faa122a4

2020-08-05: xiwenmao(未合入)

  • sockets.c: Fixed Bug #1232774 (disable lwip_tcp and tcp application on 8811) commit-ID: 7c55b974be

2020-08-05: xiwenmao

  • tcp_out.c/ip_nat.c: Fixed Bug #1433539 (fix TCP resend package NAT port error) commit-ID: 9ed0c00c84

2019-08-09: jialiu

  • ipv6.c: Bug #1136464 (add null protect in ipv6.c ip6_input) commit-ID:2f54af6bf2

2019-08-19: xiwenmao

  • ipv6.c: Bug #1144709 (fix coverity bug, add NULL pointer protect) commit-ID:b0bd389419

2019-08-29: xiwenmao

  • ipv6.c: Bug #1144709 (fix coverity bug, add NULL pointer protect) commit-ID:fddee72202

2020-09-03: fei.pan

  • dns.c: Fixed bug #1402597 (fix dns_send complexity) commit-ID: 161bc4a195

2020-09-11: xiwenmao

  • netif.c: Fixed bug #1403803 (add static route by dest ip) commit-ID: aa425d13dc

2020-09-14: fei.pan

  • api_lib.c,dns.c udp.c: Fixed bug #1411519 (amend dns resolve in different pdp type)
  • 当netif!=NULL时,激活IPv4时,只进行IPv4解析;激活IPv6时,只进行IPV6解析;激活IPv6v4时,先进行IPV6,再进行IPV4;
  • 当netif == NULL时,默认先进行IPV4解析,再进行IPV6;
  • 当底层lwip协议栈不支持双栈时,进行IPv4解析,修改为进行地址绑定时,将绑定的地址类型改为V4V6。 commit-ID: 46fcb77a58

2020-09-15: xiwenmao

  • nd6.c: Bug #1402403 (add nd6_get_router_addr interface) commit-ID: 33f332348b

2020-09-24: wei.sun2

  • dhcp6.c: Bug #1418548 (support Dhcpv6 infor relpy for ppp) commit-ID:cafd5e393b

2020-09-24: xiwenmao

  • upap.c: Fixed Bug #1404441 (support internal communication for NAT mode) commit-ID: f5a8d13494

2020-09-25: fei.pan

  • api_lib.c,api_msg.c/.h: Fixed bug #1413764 (fix memory lack when call geraddrinfo) commit-ID: d7b3a7915a

2020-10-29: fei.pan

  • netif.c: Fixed bug #1439993 (callback_arg is null in sntp gethostbyname,it cause can not reslove IP,so sntp failed) commit-ID: 8c13f32fb4

2020-11-02: xiwen.mao

  • udp.c,tcp.c/tcp.h: Fixed bug #1443676(change components/net traceID) commit-ID: ad088c1aad

2020-11-05: xiwenmao

  • icmp.c: Bug #1445139 (add ipv6 length check in ip6addr_aton) commit-ID: 8e1340b08b

2020-11-16: xiwen.mao

  • tcp_in.c: Fixed bug #1454199(fix lwip out of order TCP data assert) commit-ID: a299f7ac14

2020-11-17: xiwenmao

  • sockets.c: Fixed Bug #1454810 (fix assert when lwip_recvfrom mem is NULL) commit-ID: c12552a75b

2020-11-27: xiwen.mao

  • api_msg.c,ip4_nat.c: Fixed bug #1462295 (add NAT out random port; fix lwip_close block when so_linger is set) commit-ID: 339df48e9f

2020-11-27: xiwenmao

  • nd6.c: Bug #1457478 (use CFW_NwGetFTA for GCF test) commit-ID: 9d29855755

2020-12-04: xiwenmao

  • netdb.c: Fixed Bug #1468356 (fix AT+PING crash before LWIP lib init) commit-ID: 95266b5b3e

2020-12-18: jialiu

  • altcp_tls.c: Fixed Bug #1275113 (fix double free when mqtts connection closed by peer) commit-ID: 5474e45408

2021-01-25: xiwenmao

  • nd6.c: Bug #1495932 (null pointer when bind lan to actived wan under nat) commit-ID:8eb2c9e745

2021-02-01: xiwen.mao

  • api_msg.c: Fixed bug #1505707 (fix double free in non-block so_linger) commit-ID: 33362450ff

2021-03-04: fei.pan

  • dns.c: Fixed bug #1537797 (netif_default is null pointer,carsh) commit-ID: ca9528b7f2

2021-03-10: Xianyong.Cheng

  • dns.c: Fixed bug #1500269 ( add multi dns support) commit-ID: 53d819ce0f

2021-03-31: xiwenmao

  • api_lib.c,sockets.c api.h...: Fixed bug #1531491 (add rfack in lwip; changed cfw data send api) commit-ID: 1c161cb261

2021-04-08: Xianyong.Cheng

  • dns.c: Fixed bug #1573026 (add nping and qdns at command support) commit-ID: 8925ea557d

2021-04-09: xiwenmao

  • api_lib.c,sockets.c api.h...: Fixed bug #1531491 (dissable rfack in 8811 CD atrgart) commit-ID: 8c5b699953

2021-04-13: Xianyong.Cheng

  • ip4_addr.c: Fixed Bug #1573026 (fix qdns not return OK issue) commit-ID: 67b4801a7a

2021-04-26: guangzu.sun

  • api_msg.c: Fixed bug #1586944 (tcp connect no set so_linger para,close socket improper logic) commit-ID: 7d59887148

2021-05-18: guangzu.sun

  • tcp_out.c,tcp.c: Fixed Bug #1597442 (Adds partial support for selective acknowledgements (RFC 2018).) Adds partial support for selective acknowledgements (RFC 2018). This change makes lwIP negotiate SACK support, and include SACK data in outgoing empty ACK packets. It does not include it in outgoing packets with data payload. It also does not add support for handling incoming SACKs. commit-ID: 3421089ecb

2021-05-21: xiwen.mao

  • api_msg.c,tcp.c/tcp.h: Fixed bug #1607709(fix so_linger close block error when socket not read all data) commit-ID: b109b48f08

2021-06-08: guangzu.sun

  • tcp.c: Fixed Bug #1628330 (After waking up PM3,the timing of TCP_data is abnormal) commit-ID: f1ff825ae4

2021-07-19: howie.li

  • udp.c,tcp.c/tcp.h: Fixed bug #1617967(Add the support for 8910 IDS) commit-ID: 3187dd005a

2021-08-04: xiwenmao

  • nd6.c: Bug #1674075 (add 8850 LWIP init) commit-ID:f7d17c0ea7

2021-09-06: guangzu.sun

  • tcp_in.c: Fixed bug #1701952 (TCP data transmission is interrupted.) commit-ID: 3f0976dfd3

2021-09-07: wei.sun2

  • netif.c: Fixed bug #1698373 ( support multi-lan for nat mode) commit-ID: a2e44ef903

2021-09-14: xiwen.mao

  • ip4.c: Fixed Bug #1698373 (remove IP_NAT_INTERNAL_FORWARD) commit-ID:e8507e9e9e

2021-09-16: david.zhang1

  • api_lib.c,dns.c/.h,opt.h,api_msh.h ip4_nat.h: Fixed bug #1627358 (Dns server support) When RNDIS is actived, customer can use device as dns server. 1. Receive user dns request, first find ipaddr in local cache(size:50). 2. Build request and send to remote dns server if not hit in cache. 3. Build dns answer package and send to user. 4. Support IPV4 & IPV6. 5. Only support domain -> ipaddr. commit-ID: b22103207c