mbuf: fix a typo
PATCH 1/1 mbuf: fix a typo
This trivial patch fixes a typo in rte_mbuf.h.
Fixes f20b50b946da ("mbuf: optimize refcnt update")
Signed-off-by Rami Rosen <[email protected]>
--- lib/librte_mbuf/rte_mbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_mbuf/rte_mbuf.h +1 -1
@@ -973,7 +973,7 @@ rte_mbuf_refcnt_update(struct rte_mbuf *m, int16_t value) {/* * The atomic_add is an expensive operation, so we don't want to -* call it in the case where we know we are the uniq holder of +* call it in the case where we know we are the unique holder of * this mbuf (i.e. ref_cnt == 1). Otherwise, an atomic * operation has to be used because concurrent accesses on the * reference counter can occur.
Signature · 1 line
2.19.2
Thomas Monjalon
Applied11/02/2019 19:52, Rami Rosen:
Quoted 5 lines
This trivial patch fixes a typo in
rte_mbuf.h.Fixes f20b50b946da ("mbuf: optimize refcnt update")Signed-off-by Rami Rosen <[email protected]>
Applied, thanks