FreeBSD Bugzilla – Attachment 104176 Details for
Bug 144311
[pf] [icmp] massive ICMP storm on lo0 occurs when using pf(4) 'reply-to'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pf.routeto.patch
pf.routeto.patch (text/x-patch; charset="ISO-8859-1"), 789 bytes, created by
Max Laier
on 2010-03-19 13:35:05 UTC
(
hide
)
Description:
pf.routeto.patch
Filename:
MIME Type:
Creator:
Max Laier
Created:
2010-03-19 13:35:05 UTC
Size:
789 bytes
patch
obsolete
>Index: sys/contrib/pf/net/pf.c >=================================================================== >--- sys/contrib/pf/net/pf.c (revision 203960) >+++ sys/contrib/pf/net/pf.c (working copy) >@@ -6375,6 +6375,7 @@ > m0->m_pkthdr.csum_flags &= ifp->if_hwassist; > > if (ntohs(ip->ip_len) <= ifp->if_mtu || >+ (m0->m_pkthdr.csum_flags & ifp->if_hwassist & CSUM_TSO) != 0 || > (ifp->if_hwassist & CSUM_FRAGMENT && > ((ip->ip_off & htons(IP_DF)) == 0))) { > /* >@@ -6449,7 +6450,7 @@ > * Too large for interface; fragment if possible. > * Must be able to put at least 8 bytes per fragment. > */ >- if (ip->ip_off & htons(IP_DF)) { >+ if (ip->ip_off & htons(IP_DF) || (m0->m_pkthdr.csum_flags & CSUM_TSO)) { > KMOD_IPSTAT_INC(ips_cantfrag); > if (r->rt != PF_DUPTO) { > #ifdef __FreeBSD__
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 144311
: 104176