Page MenuHomeFreeBSD

D28546.1793992675.diff
No OneTemporary

Authored By
Unknown
Size
553 B
Referenced Files
None
Subscribers
None

D28546.1793992675.diff

diff --git a/sys/netgraph/ng_bridge.c b/sys/netgraph/ng_bridge.c
--- a/sys/netgraph/ng_bridge.c
+++ b/sys/netgraph/ng_bridge.c
@@ -739,7 +739,10 @@
/* Look up packet's source Ethernet address in hashtable */
if ((host = ng_bridge_get(priv, eh->ether_shost)) != NULL) {
- /* Update time since last heard from this host */
+ /* Update time since last heard from this host.
+ * This is safe without locking, because it's
+ * the only operation during shared access.
+ */
host->staleness = 0;
/* Did host jump to a different link? */

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 6, 7:17 PM (12 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41530321
Default Alt Text
D28546.1793992675.diff (553 B)

Event Timeline