FreeBSD Bugzilla – Attachment 182486 Details for
Bug 209491
Broadcast storm with ipfw+natd+gateway
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch (untested)
ip_divert.diff (text/plain), 631 bytes, created by
Andrey V. Elsukov
on 2017-05-10 21:06:42 UTC
(
hide
)
Description:
Proposed patch (untested)
Filename:
MIME Type:
Creator:
Andrey V. Elsukov
Created:
2017-05-10 21:06:42 UTC
Size:
631 bytes
patch
obsolete
>Index: sys/netinet/ip_divert.c >=================================================================== >--- sys/netinet/ip_divert.c (revision 318135) >+++ sys/netinet/ip_divert.c (working copy) >@@ -489,6 +489,12 @@ div_output(struct socket *so, struct mbuf *m, stru > /* Send packet to input processing via netisr */ > switch (ip->ip_v) { > case IPVERSION: >+ /* >+ * Set M_BCAST flag when destination address is >+ * broadcast. It is expected by ip_tryforward(). >+ */ >+ if (in_broadcast(ip->ip_dst, m->m_pkthdr.rcvif)) >+ m->m_flags |= M_BCAST; > netisr_queue_src(NETISR_IP, (uintptr_t)so, m); > break; > #ifdef INET6
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 209491
:
182485
| 182486 |
182488