The branch stable/14 has been updated by gbe:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=3807e87f4eec6614d2e975f43a4f8308f3a4743a

commit 3807e87f4eec6614d2e975f43a4f8308f3a4743a
Author:     Gordon Bergling <g...@freebsd.org>
AuthorDate: 2025-08-17 09:26:44 +0000
Commit:     Gordon Bergling <g...@freebsd.org>
CommitDate: 2025-08-20 06:57:17 +0000

    udp: Fix a typo in a source code comment
    
    - s/datgram/datagram/
    
    (cherry picked from commit a3a78bd7a7446a9a437391c681ba196d956987da)
---
 sys/netinet/udp_usrreq.c   | 2 +-
 sys/netinet6/udp6_usrreq.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index adf8f0afc125..653c42a84214 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -450,7 +450,7 @@ udp_multi_input(struct mbuf *m, int proto, struct 
sockaddr_in *udp_in)
                /*
                 * No matching pcb found; discard datagram.  (No need
                 * to send an ICMP Port Unreachable for a broadcast
-                * or multicast datgram.)
+                * or multicast datagram.)
                 */
                UDPSTAT_INC(udps_noport);
                if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)))
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index 4a82315ea2f0..066cf79c3a07 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -333,7 +333,7 @@ udp6_multi_input(struct mbuf *m, int off, int proto,
                /*
                 * No matching pcb found; discard datagram.  (No need
                 * to send an ICMP Port Unreachable for a broadcast
-                * or multicast datgram.)
+                * or multicast datagram.)
                 */
                UDPSTAT_INC(udps_noport);
                UDPSTAT_INC(udps_noportmcast);

Reply via email to