Displaying 1 result from an estimated 1 matches for "iotoken".
2017 Nov 21
2
[PATCH] EFI TCP buffer reuse bug
...ll_buffer(struct inode *inode)
{
struct pxe_pvt_inode *socket = PVT(inode);
@@ -210,7 +208,6 @@ void core_tcp_fill_buffer(struct inode *
EFI_TCP4_FRAGMENT_DATA *frag;
EFI_STATUS status;
EFI_TCP4 *tcp = (EFI_TCP4 *)b->this;
- void *data;
size_t len;
memset(&iotoken, 0, sizeof(iotoken));
@@ -223,10 +220,10 @@ void core_tcp_fill_buffer(struct inode *
iotoken.Packet.RxData = &rxdata;
rxdata.FragmentCount = 1;
- rxdata.DataLength = sizeof(databuf);
+ rxdata.DataLength = sizeof(socket->tcp_databuf);
frag = &rxdata.FragmentTable[0]...