Page MenuHomeFreeBSD

D55186.diff
No OneTemporary

D55186.diff

diff --git a/sys/net/if_geneve.c b/sys/net/if_geneve.c
--- a/sys/net/if_geneve.c
+++ b/sys/net/if_geneve.c
@@ -3733,11 +3733,7 @@
}
iphdr = mtodo(m, offset - sizeof(struct ip));
- /*
- * XXX: RFC 6040 MUST be followed for IP packets encapsulated in geneve
- * therefore should be ECN_COMPLETE of D53516
- */
- if (ip_ecn_egress(ECN_ALLOWED, &info->ecn, &iphdr->ip_tos) == 0) {
+ if (ip_ecn_egress(ECN_COMPLETE, &info->ecn, &iphdr->ip_tos) == 0) {
*m0 = NULL;
return (ENOBUFS);
}
@@ -3761,12 +3757,8 @@
}
ip6hdr = mtodo(m, offset - sizeof(struct ip6_hdr));
- /*
- * XXX: RFC 6040 MUST be followed for IP packets encapsulated in geneve
- * therefore should be ECN_COMPLETE of D53516
- */
itos = (ntohl(ip6hdr->ip6_flow) >> IPV6_FLOWLABEL_LEN) & 0xff;
- if (ip_ecn_egress(ECN_ALLOWED, &info->ecn, &itos) == 0) {
+ if (ip_ecn_egress(ECN_COMPLETE, &info->ecn, &itos) == 0) {
*m0 = NULL;
return (ENOBUFS);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 15, 6:45 PM (8 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28596578
Default Alt Text
D55186.diff (962 B)

Event Timeline