** Description changed: - The bellow upstream commit fixes a bug in Ktls feature. - It is applied cleanly above the ubuntu-focal tree and passed basic sanity testing. - We would like it to be backported ubuntu-focal - Thanks, - Amir + [IMPACT] - commit 41b14fb8724d5a4b382a63cb4a1a61880347ccb8 - Author: Tariq Toukan <[email protected]> - Date: Mon Jun 22 23:26:04 2020 +0300 + Clearing the sock TX queue in sk_set_socket() might cause unexpected + out-of-order transmit when called from sock_orphan(), as outstanding + packets can pick a different TX queue and bypass the ones already queued. - net: Do not clear the sock TX queue in sk_set_socket() - - Clearing the sock TX queue in sk_set_socket() might cause unexpected - out-of-order transmit when called from sock_orphan(), as outstanding - packets can pick a different TX queue and bypass the ones already queued. - - This is undesired in general. More specifically, it breaks the in-order - scheduling property guarantee for device-offloaded TLS sockets. - - Remove the call to sk_tx_queue_clear() in sk_set_socket(), and add it - explicitly only where needed. - - Fixes: e022f0b4a03f ("net: Introduce sk_tx_queue_mapping") - Signed-off-by: Tariq Toukan <[email protected]> - Reviewed-by: Boris Pismenny <[email protected]> - Signed-off-by: David S. Miller <[email protected]> + This is undesired in general. More specifically, it breaks the in-order + scheduling property guarantee for device-offloaded TLS sockets. + + Remove the call to sk_tx_queue_clear() in sk_set_socket(), and add it + explicitly only where needed. + + + [FIXES] + + e022f0b4a03f "net: Introduce sk_tx_queue_mapping" + + This cleanly cherry picks into 5.4 from 5.8. + + It can be checked out in my branch here: + + https://git.launchpad.net/~bladernr/ubuntu/+source/linux/+git/focal + 1889625-mxl-ktls-bugfix + + [REGRESSION RISK] + + + [TEST]
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1889625 Title: Bug fix for ktls feature To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1889625/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
