search for: tftp_dataptr

Displaying 1 result from an estimated 1 matches for "tftp_dataptr".

2017 Nov 21
2
[PATCH] EFI TCP buffer reuse bug
...rapper(tcp->Receive, 2, tcp, &iotoken); if (status == EFI_CONNECTION_FIN) { @@ -244,10 +241,8 @@ void core_tcp_fill_buffer(struct inode * cb_status = -1; len = frag->FragmentLength; - memcpy(databuf, frag->FragmentBuffer, len); - data = databuf; - socket->tftp_dataptr = data; + socket->tftp_dataptr = socket->tcp_databuf; socket->tftp_filepos += len; socket->tftp_bytesleft = len;