Closed lancerchao closed 8 years ago
Packets allocated in data_ready are put in sk_receive_queue. They are freed as they are read in tls_recvmsg. If user does not read all the packets before closing the socket, all the non-read packets will be leaked unless they are freed in destruct
LGTM, thanks!
Packets allocated in data_ready are put in sk_receive_queue. They are freed as they are read in tls_recvmsg. If user does not read all the packets before closing the socket, all the non-read packets will be leaked unless they are freed in destruct