Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105636231
D16333.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D16333.diff
View Options
Index: head/sys/netinet/ip_icmp.c
===================================================================
--- head/sys/netinet/ip_icmp.c
+++ head/sys/netinet/ip_icmp.c
@@ -139,8 +139,8 @@
SYSCTL_INT(_net_inet_icmp, OID_AUTO, reply_from_interface, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(icmp_rfi), 0,
"ICMP reply from incoming interface for non-local packets");
-
-static VNET_DEFINE(int, icmp_quotelen) = 8;
+/* Router requirements RFC 1812 section 4.3.2.3 requires 576 - 28. */
+static VNET_DEFINE(int, icmp_quotelen) = 548;
#define V_icmp_quotelen VNET(icmp_quotelen)
SYSCTL_INT(_net_inet_icmp, OID_AUTO, quotelen, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(icmp_quotelen), 0,
Index: head/sys/netinet/tcp_stacks/rack.c
===================================================================
--- head/sys/netinet/tcp_stacks/rack.c
+++ head/sys/netinet/tcp_stacks/rack.c
@@ -1627,7 +1627,6 @@
static void
rack_challenge_ack(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp, int32_t * ret_val)
{
-
INP_INFO_RLOCK_ASSERT(&V_tcbinfo);
TCPSTAT_INC(tcps_badsyn);
@@ -6103,7 +6102,6 @@
return (ret_val);
}
if (ourfinisacked) {
-
INP_INFO_RLOCK_ASSERT(&V_tcbinfo);
tp = tcp_close(tp);
rack_do_drop(m, tp);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 2:26 PM (37 m, 53 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15511310
Default Alt Text
D16333.diff (1 KB)
Attached To
Mode
D16333: The ICMP echo is too small
Attached
Detach File
Event Timeline
Log In to Comment