git: 29264fa5f750 - stable/15 - udp: Wrap a long line in udp_send()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Jul 2026 18:09:52 UTC
The branch stable/15 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=29264fa5f750069f0799705c79be043d0dcf30d2
commit 29264fa5f750069f0799705c79be043d0dcf30d2
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-06-15 15:57:01 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-07-08 18:09:34 +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 f1d952037d5a..b586790c028e 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1166,7 +1166,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