DragonOS icon indicating copy to clipboard operation
DragonOS copied to clipboard

bug(driver/net): virto_net网卡不位于网卡列表表头,无法正常处理arp请求

Open smallcjy opened this issue 1 year ago • 3 comments

描述错误 virto_net网卡不位于网卡表头时,运行http_server程序客户端请求连接时,smoltcp无法处理arp请求。但virto_net位于表头时又可正常工作。

请填写您的电脑的信息:

  • 操作系统及版本:Ubuntu 22.04

重现步骤 commit on: https://github.com/DragonOS-Community/DragonOS/pull/977/commits/40d9375b6bf3c49a6989566f7466e9b1c3e5a942

重现行为的步骤:

  1. 恢复lo网卡使用初始化宏,此时lo将位于表头
  2. 运行http_server发现arp请求无法正常处理,导致客户端无法连接

屏幕截图 如果适用,添加屏幕截图以帮助解释您的问题。 image

image

smallcjy avatar Oct 17 '24 07:10 smallcjy

描述问题的时候要带上commit链接哈哈,不然过了一段时间,其他人想复现,就找不到复现的代码了

fslongjin avatar Oct 17 '24 08:10 fslongjin

描述问题的时候要带上commit链接哈哈,不然过了一段时间,其他人想复现,就找不到复现的代码了

已更新,见:https://github.com/DragonOS-Community/DragonOS/issues/993#issue-2593945815

commit 于:https://github.com/DragonOS-Community/DragonOS/pull/977/commits/40d9375b6bf3c49a6989566f7466e9b1c3e5a942

Samuka007 avatar Oct 17 '24 08:10 Samuka007

已修复 #996

smallcjy avatar Oct 18 '24 05:10 smallcjy