]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: plip: fix break; causing plip to never transmit
authorJakub Boehm <boehm.jakub@gmail.com>
Tue, 15 Oct 2024 15:16:04 +0000 (17:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Nov 2024 00:52:36 +0000 (01:52 +0100)
commit38eb596656434c58b9eba139c99e370f093990c4
tree8ee69d01bf4429d4c8ddd78868f779e1c67c10d7
parent919ab6e2370289a2748780f44a43333cd3878aa7
net: plip: fix break; causing plip to never transmit

[ Upstream commit f99cf996ba5a315f8b9f13cc21dff0604a0eb749 ]

Since commit
  71ae2cb30531 ("net: plip: Fix fall-through warnings for Clang")

plip was not able to send any packets, this patch replaces one
unintended break; with fallthrough; which was originally missed by
commit 9525d69a3667 ("net: plip: mark expected switch fall-throughs").

I have verified with a real hardware PLIP connection that everything
works once again after applying this patch.

Fixes: 71ae2cb30531 ("net: plip: Fix fall-through warnings for Clang")
Signed-off-by: Jakub Boehm <boehm.jakub@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Message-ID: <20241015-net-plip-tx-fix-v1-1-32d8be1c7e0b@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/plip/plip.c