Oopenvela-robotnet: removing bmp marco and using global mempool
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
net/forward: change ipforward name to netforward for public use Signed-off-by: wangjinjing1 <wangjinjing1@xiaomi.com> | 2 个月前 | |
net/forward: change ipforward name to netforward for public use Signed-off-by: wangjinjing1 <wangjinjing1@xiaomi.com> | 2 个月前 | |
net/forward: change ipforward name to netforward for public use Signed-off-by: wangjinjing1 <wangjinjing1@xiaomi.com> | 2 个月前 | |
net/ipforward: fix the problem of nested forward process since the txavail of netdev_upperhalf was changed to send data directly in the current thread, recursive mutual forwarding between network cards will lead to d_iob overwriting, take ICMP as an example: peer(ehco_req:src[10.0.0.2]dest[20.0.0.1]) V 10.0.0.1 forward & loopback 20.0.0.1 eth0_input(echo_req) ---------------------> eth1_input(echo_req) ehco_reply:src(20.0.0.1)dest(10.0.0.2) | | loopback V forward peer(10.0.0.2) <--------------------- eth0_txavail(echo_reply) so we need save the current state of the device, avoid damaging the current d_iob and other resources when forwarding recursion. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net/ipforward: fix the problem of nested forward process since the txavail of netdev_upperhalf was changed to send data directly in the current thread, recursive mutual forwarding between network cards will lead to d_iob overwriting, take ICMP as an example: peer(ehco_req:src[10.0.0.2]dest[20.0.0.1]) V 10.0.0.1 forward & loopback 20.0.0.1 eth0_input(echo_req) ---------------------> eth1_input(echo_req) ehco_reply:src(20.0.0.1)dest(10.0.0.2) | | loopback V forward peer(10.0.0.2) <--------------------- eth0_txavail(echo_reply) so we need save the current state of the device, avoid damaging the current d_iob and other resources when forwarding recursion. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net/ipforward: fix the problem of nested forward process since the txavail of netdev_upperhalf was changed to send data directly in the current thread, recursive mutual forwarding between network cards will lead to d_iob overwriting, take ICMP as an example: peer(ehco_req:src[10.0.0.2]dest[20.0.0.1]) V 10.0.0.1 forward & loopback 20.0.0.1 eth0_input(echo_req) ---------------------> eth1_input(echo_req) ehco_reply:src(20.0.0.1)dest(10.0.0.2) | | loopback V forward peer(10.0.0.2) <--------------------- eth0_txavail(echo_reply) so we need save the current state of the device, avoid damaging the current d_iob and other resources when forwarding recursion. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net: removing bmp marco and using global mempool Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net/forward: change ipforward name to netforward for public use Signed-off-by: wangjinjing1 <wangjinjing1@xiaomi.com> | 2 个月前 | |
devif_poll: only call the corresponding xxx_poll when there is data to be sent reduce the execution consumption of irrelevant code Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
devif_poll: only call the corresponding xxx_poll when there is data to be sent reduce the execution consumption of irrelevant code Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 |