Page MenuHomeFreeBSD

D28601.id89143.diff
No OneTemporary

D28601.id89143.diff

Index: sys/netgraph/ng_bridge.c
===================================================================
--- sys/netgraph/ng_bridge.c
+++ sys/netgraph/ng_bridge.c
@@ -788,7 +788,8 @@
* This is safe without locking, because it's
* the only operation during shared access.
*/
- host->staleness = 0;
+ if (__predict_false(host->staleness > 0))
+ host->staleness = 0;
if ((host == NULL && ctx.incoming->learnMac) ||
(host != NULL && host->link != ctx.incoming)) {

File Metadata

Mime Type
text/plain
Expires
Thu, Sep 10, 8:11 PM (20 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38665339
Default Alt Text
D28601.id89143.diff (481 B)

Event Timeline