mirror of
https://github.com/impact-eintr/netstack.git
synced 2025-11-01 16:22:32 +08:00
fix bug: 分片机制应该使用vv.ToViews()获取全部的数据而非First()的第一片区
This commit is contained in:
@@ -77,7 +77,6 @@ func New(opts *Options) tcpip.LinkEndpointID {
|
||||
iovecs: make([]syscall.Iovec, len(BufConfig)),
|
||||
handleLocal: opts.HandleLocal,
|
||||
}
|
||||
|
||||
// 全局注册链路层设备
|
||||
return stack.RegisterLinkEndpoint(e)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user