Hi, Sunil Muthuswamy <sunilmut@xxxxxxxxxxxxx> made some important fixes for hv_sock recently. I and Sunil think it would be great to backport the fixes to the longterm stable kernels. Since hv_sock was firstly introduced in v4.14, we only care about v4.14, v4.19 and v5.2. For linux-5.2.y (currently it's v5.2.4), only one patch is missing. The mainline commit ID is: d5afa82c977e ("vsock: correct removal of socket from the list") It can be cleanly cherry-picked from the mainline. For linux-4.19.y (currently it's v4.19.62), 3 patches are missing. The mainline commit IDs are: cb359b604167 ("hvsock: fix epollout hang from race condition") a9eeb998c28d ("hv_sock: Add support for delayed close") d5afa82c977e ("vsock: correct removal of socket from the list") They can be cleanly cherry-picked from the mainline, in the listed order here. Note: it looks the first commit (cb359b604167) has been queued. For linux-4.14.y (currently it's v4.14.134), 4 patches are missing. The mainline commit IDs are: cb359b604167 ("hvsock: fix epollout hang from race condition") 3b4477d2dcf2 ("VSOCK: use TCP state constants for sk_state") a9eeb998c28d ("hv_sock: Add support for delayed close") d5afa82c977e ("vsock: correct removal of socket from the list") The third patch (a9eeb998c28d) needs small manual adjustments, and please use the attached backported patch for it; the other 3 patches can be cleanly cherry-picked from the mainline, in the listed order here. Note: it looks the first commit (cb359b604167) has been queued. Please let me know, if any clarification is needed. Thanks! -- Dexuan
Attachment:
for-v4.14.134-0001-VSOCK-use-TCP-state-constants-for-sk_state.patch
Description: for-v4.14.134-0001-VSOCK-use-TCP-state-constants-for-sk_state.patch