Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145006970
D26690.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
727 B
Referenced Files
None
Subscribers
None
D26690.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D26690: Check if_capenable, not if_capabilities.
Attached
Detach File
Event Timeline
Log In to Comment