复用pl对象,减少copy性能损耗

This commit is contained in:
lanrenwo
2022-11-25 15:08:05 +08:00
parent e909ca552c
commit 9e53ec289c
4 changed files with 37 additions and 20 deletions

View File

@@ -175,7 +175,7 @@ func allTapWrite(ifce LinkDriver, cSess *sessdata.ConnSession) {
return
}
putPayload(pl)
putPayloadInBefore(cSess, pl)
}
}