| Summary: | A possible data race in sys/netpfil/ipfw/dn_aqm_pie.c | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Tuo Li <islituo> |
| Component: | kern | Assignee: | freebsd-ipfw (Nobody) <ipfw> |
| Status: | Closed Not A Bug | ||
| Severity: | Affects Only Me | CC: | markj |
| Priority: | --- | ||
| Version: | 14.0-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Tuo Li
2023-11-02 16:27:22 UTC
These functions are all serialized by DN_BH_WLOCK(). pst->lock_mtx serves to synchronize with calls to calculate_drop_prob() from a callout. I don't see how the described race can occur. (In reply to Mark Johnston from comment #1) Thank you for your reply! It is very helpful. I did not consider the global lock operation DN_BH_WLOCK() and thus reported this false data race. I am sorry to bother you and I will be more careful in the subsequent reports. |