FreeBSD Bugzilla – Attachment 13130 Details for
Bug 25117
ICMP Destination Port Unreachable Error Message is wrong.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 817 bytes, created by
daisu-mi
on 2001-02-15 18:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
daisu-mi
Created:
2001-02-15 18:30:00 UTC
Size:
817 bytes
patch
obsolete
>--- sys/netinet/udp_usrreq.c.orig Thu Nov 2 02:08:50 2000 >+++ sys/netinet/udp_usrreq.c Wed Jan 17 00:20:25 2001 >@@ -162,6 +162,8 @@ > struct ip save_ip; > struct sockaddr *append_sa; > >+ u_short osum; >+ > udpstat.udps_ipackets++; > > /* >@@ -214,6 +216,7 @@ > /* > * Checksum extended UDP header and data. > */ >+ osum = uh->uh_sum; > if (uh->uh_sum) { > if (m->m_pkthdr.csum_flags & CSUM_DATA_VALID) { > if (m->m_pkthdr.csum_flags & CSUM_PSEUDO_HDR) >@@ -234,6 +237,9 @@ > return; > } > } >+ >+ /* restore original datagram */ >+ uh->uh_sum = osum; > > if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) || > in_broadcast(ip->ip_dst, m->m_pkthdr.rcvif)) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25117
: 13130