Patch "selftests: reuseaddr_conflict: add missing new line at the end of the output" has been added to the 6.8-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.8-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.8 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.8/ipv6-fix-infinite-recursion-in-fib6_dump_done.patch
queue-6.8/r8169-skip-dash-fw-status-checks-when-dash-is-disabled.patch
queue-6.8/tools-ynl-fix-setting-presence-bits-in-simple-nests.patch
queue-6.8/i40e-fix-vf-mac-filter-removal.patch
queue-6.8/net-dsa-mv88e6xxx-fix-usable-ports-on-88e6020.patch
queue-6.8/tcp-fix-bind-regression-for-v6-only-wildcard-and-v4-mapped-v6-non-wildcard-addresses.patch
queue-6.8/net-phy-micrel-fix-potential-null-pointer-dereference.patch
queue-6.8/net-txgbe-fix-i2c-dev-name-cannot-match-clkdev.patch
queue-6.8/net-usb-ax88179_178a-avoid-the-interface-always-configured-as-random-address.patch
queue-6.8/net-fec-set-mac_managed_pm-during-probe.patch
queue-6.8/tcp-properly-terminate-timers-for-kernel-sockets.patch
queue-6.8/selftests-reuseaddr_conflict-add-missing-new-line-at-the-end-of-the-output.patch
queue-6.8/mlxbf_gige-stop-interface-during-shutdown.patch
queue-6.8/mptcp-prevent-bpf-accessing-lowat-from-a-subflow-socket.patch
queue-6.8/mlxbf_gige-call-request_irq-after-napi-initialized.patch
queue-6.8/net-hsr-hsr_slave-fix-the-promiscuous-mode-in-offloa.patch
queue-6.8/net-sched-act_skbmod-prevent-kernel-infoleak.patch
queue-6.8/net-stmmac-fix-rx-queue-priority-assignment.patch
queue-6.8/net-wwan-t7xx-split-64bit-accesses-to-fix-alignment-.patch
queue-6.8/erspan-make-sure-erspan_base_hdr-is-present-in-skb-head.patch
queue-6.8/net-mana-fix-rx-dma-datasize-and-skb_over_panic.patch
queue-6.8/net-rds-fix-possible-cp-null-dereference.patch
queue-6.8/tls-recv-process_rx_list-shouldn-t-use-an-offset-wit.patch
queue-6.8/net-sched-fix-lockdep-splat-in-qdisc_tree_reduce_backlog.patch
queue-6.8/net-phy-micrel-lan8814-fix-when-enabling-disabling-1-step-timestamping.patch
queue-6.8/selftests-mptcp-join-fix-dev-in-check_endpoint.patch
queue-6.8/netfilter-validate-user-input-for-expected-length.patch
queue-6.8/dpll-indent-dpll-option-type-by-a-tab.patch
queue-6.8/s390-qeth-handle-deferred-cc1.patch
queue-6.8/octeontx2-pf-check-negative-error-code-in-otx2_open.patch
queue-6.8/ax25-fix-use-after-free-bugs-caused-by-ax25_ds_del_timer.patch
queue-6.8/tcp-fix-bind-regression-for-v6-only-wildcard-and-v4-mapped-v6-non-wildcard-addresses-again.patch
queue-6.8/tls-get-psock-ref-after-taking-rxlock-to-avoid-leak.patch
queue-6.8/tls-adjust-recv-return-with-async-crypto-and-failed-.patch
queue-6.8/vsock-virtio-fix-packet-delivery-to-tap-device.patch
queue-6.8/xen-netfront-add-missing-skb_mark_for_recycle.patch
queue-6.8/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