Searched hist:"8 b8d90931d8089fc8329f9c67883b7ccd9266513" (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/net/ |
H A D | iflib.c | diff 8b8d90931d8089fc8329f9c67883b7ccd9266513 Sun Jul 22 19:45:44 CEST 2018 Marius Strobl <marius@FreeBSD.org> - Given that the controlling expression of the receive loop in iflib_rxeof() tests for avail > 0, avail can never be 0 within that loop. Thus, move decrementing avail and budget_left into the loop and before the code which checks for additional descriptors having become available in case all the previous ones have been processed but there still is budget left so the latter code works as expected. [1] - In iflib_{busdma_load_mbuf_sg,parse_header}(), remove dead stores to m and n respectively. [2, 3] - In collapse_pkthdr(), ensure that m_next isn't NULL before dereferencing it. [4] - Remove a duplicate assignment of segs in iflib_encap().
Reported by: Coverity CID: 1356027 [1], 1356047 [2], 1368205 [3], 1356028 [4]
|