Patch "selftests: reuseaddr_conflict: add missing new line at the end of the output" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    selftests: reuseaddr_conflict: add missing new line at the end of the output

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     selftests-reuseaddr_conflict-add-missing-new-line-at-the-end-of-the-output.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 31974122cfdeaf56abc18d8ab740d580d9833e90 Mon Sep 17 00:00:00 2001
From: Jakub Kicinski <kuba@xxxxxxxxxx>
Date: Fri, 29 Mar 2024 09:05:59 -0700
Subject: selftests: reuseaddr_conflict: add missing new line at the end of the output

From: Jakub Kicinski <kuba@xxxxxxxxxx>

commit 31974122cfdeaf56abc18d8ab740d580d9833e90 upstream.

The netdev CI runs in a VM and captures serial, so stdout and
stderr get combined. Because there's a missing new line in
stderr the test ends up corrupting KTAP:

  # Successok 1 selftests: net: reuseaddr_conflict

which should have been:

  # Success
  ok 1 selftests: net: reuseaddr_conflict

Fixes: 422d8dc6fd3a ("selftest: add a reuseaddr test")
Reviewed-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20240329160559.249476-1-kuba@xxxxxxxxxx
Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 tools/testing/selftests/net/reuseaddr_conflict.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/tools/testing/selftests/net/reuseaddr_conflict.c
+++ b/tools/testing/selftests/net/reuseaddr_conflict.c
@@ -109,6 +109,6 @@ int main(void)
 	fd1 = open_port(0, 1);
 	if (fd1 >= 0)
 		error(1, 0, "Was allowed to create an ipv4 reuseport on an already bound non-reuseport socket with no ipv6");
-	fprintf(stderr, "Success");
+	fprintf(stderr, "Success\n");
 	return 0;
 }


Patches currently in stable-queue which might be from kuba@xxxxxxxxxx are

queue-6.1/ipv6-fix-infinite-recursion-in-fib6_dump_done.patch
queue-6.1/r8169-skip-dash-fw-status-checks-when-dash-is-disabled.patch
queue-6.1/i40e-fix-vf-mac-filter-removal.patch
queue-6.1/net-phy-micrel-fix-potential-null-pointer-dereference.patch
queue-6.1/net-usb-ax88179_178a-avoid-the-interface-always-configured-as-random-address.patch
queue-6.1/tcp-properly-terminate-timers-for-kernel-sockets.patch
queue-6.1/selftests-reuseaddr_conflict-add-missing-new-line-at-the-end-of-the-output.patch
queue-6.1/mlxbf_gige-stop-interface-during-shutdown.patch
queue-6.1/mlxbf_gige-call-request_irq-after-napi-initialized.patch
queue-6.1/net-sched-act_skbmod-prevent-kernel-infoleak.patch
queue-6.1/net-stmmac-fix-rx-queue-priority-assignment.patch
queue-6.1/net-wwan-t7xx-split-64bit-accesses-to-fix-alignment-.patch
queue-6.1/erspan-make-sure-erspan_base_hdr-is-present-in-skb-head.patch
queue-6.1/net-rds-fix-possible-cp-null-dereference.patch
queue-6.1/tls-recv-process_rx_list-shouldn-t-use-an-offset-wit.patch
queue-6.1/net-sched-fix-lockdep-splat-in-qdisc_tree_reduce_backlog.patch
queue-6.1/net-phy-micrel-lan8814-fix-when-enabling-disabling-1-step-timestamping.patch
queue-6.1/netfilter-validate-user-input-for-expected-length.patch
queue-6.1/s390-qeth-handle-deferred-cc1.patch
queue-6.1/octeontx2-pf-check-negative-error-code-in-otx2_open.patch
queue-6.1/tls-get-psock-ref-after-taking-rxlock-to-avoid-leak.patch
queue-6.1/tls-adjust-recv-return-with-async-crypto-and-failed-.patch
queue-6.1/vsock-virtio-fix-packet-delivery-to-tap-device.patch
queue-6.1/xen-netfront-add-missing-skb_mark_for_recycle.patch
queue-6.1/r8169-fix-issue-caused-by-buggy-bios-on-certain-boards-with-rtl8168d.patch




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux