The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=3b69c7201fd06b368090f2ee3840d384a949cba8

commit 3b69c7201fd06b368090f2ee3840d384a949cba8
Author:     Mark Johnston <[email protected]>
AuthorDate: 2026-06-15 15:57:01 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2026-06-15 15:57:01 +0000

    udp: Wrap a long line in udp_send()
    
    No functional change intended.
    
    MFC after:      1 week
---
 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 22faf1cc1ec9..3237b12f80c0 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1164,7 +1164,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

Reply via email to