Page MenuHomeFreeBSD

D26690.diff
No OneTemporary

D26690.diff

Index: head/sys/netinet/tcp_ratelimit.c
===================================================================
--- head/sys/netinet/tcp_ratelimit.c
+++ head/sys/netinet/tcp_ratelimit.c
@@ -1137,7 +1137,7 @@
int error;
struct tcp_rate_set *rs;
- if (((ifp->if_capabilities & IFCAP_TXRTLMT) == 0) ||
+ if (((ifp->if_capenable & IFCAP_TXRTLMT) == 0) ||
(link_state != LINK_STATE_UP)) {
/*
* We only care on an interface going up that is rate-limit
@@ -1224,7 +1224,7 @@
/*
* We are setting up a rate for the first time.
*/
- if ((ifp->if_capabilities & IFCAP_TXRTLMT) == 0) {
+ if ((ifp->if_capenable & IFCAP_TXRTLMT) == 0) {
/* Not supported by the egress */
if (error)
*error = ENODEV;

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 15, 11:44 PM (8 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28760428
Default Alt Text
D26690.diff (727 B)

Event Timeline