summaryrefslogtreecommitdiff
path: root/components/net/lwip-2.1.2/src/include
AgeCommit message (Collapse)Author
2021-09-11[Netif] Fix the eth_tx_msg protectionGrissiom
The ethernetif use semaphore netif->tx_ack to protect the local variable `struct eth_tx_msg msg` in function `ethernetif_linkoutput`. But the function could be called in multiple context: LwIP "tcpip" thread, "erx" thread(on linkup) and any user thread that call `udp_sendto`. So the global semaphore protection is not sufficient. It could only wakeup the top priority waiting thread instead of the thread that owns the `msg` and may result the `msg` next in the mailbox got destructed. So to use a `rt_completion` within the `struct eth_tx_msg` and synchronize on that. This could deal the ownership issue in an easy way.
2021-05-22remove libc_errno.h & libc_limits.hMeco Man
2021-04-15[restore] Restore formatliuxianliang
2021-04-06[update] change the file encoding to UTF-8.liuxianliang
2021-03-31[fix] remove the possible critical zone riskliuxianliang
2021-03-31[fix] iperf speed test have been stable.liuxianliang
2020-06-20[update] Added custom functions for RT-Thread.liuxianliang
Signed-off-by: liuxianliang <[email protected]>
2020-06-20[add] lwIP 2.1.2 transplantation on RT-Thread.liuxianliang
Signed-off-by: liuxianliang <[email protected]>
2020-06-20[add] the code of original lwIP 2.1.2.liuxianliang
Signed-off-by: liuxianliang <[email protected]>