git: 32ae329ac9c2 - stable/14 - udp: Wrap a long line in udp_send()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Jul 2026 14:56:24 UTC
The branch stable/14 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=32ae329ac9c24109ec71969deaa00fdb39705844
commit 32ae329ac9c24109ec71969deaa00fdb39705844
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-06-15 15:57:01 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-07-14 14:08:41 +0000
udp: Wrap a long line in udp_send()
No functional change intended.
MFC after: 1 week
(cherry picked from commit 3b69c7201fd06b368090f2ee3840d384a949cba8)
---
sys/netinet/udp_usrreq.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index a1000dadf583..4506a85da7b3 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1140,7 +1140,8 @@ udp_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr,
* We will need network epoch in either case, to safely lookup into
* pcb hash.
*/
- use_cached_route = sin == NULL || (inp->inp_laddr.s_addr == INADDR_ANY && inp->inp_lport == 0);
+ use_cached_route = sin == NULL ||
+ (inp->inp_laddr.s_addr == INADDR_ANY && inp->inp_lport == 0);
if (use_cached_route || (flags & PRUS_IPV6) != 0)
INP_WLOCK(inp);
else