This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via d01e6126c7e91d3c660033cf970f6094ea080abb (commit) from ec5066a3430e31a87727ac4aea5793253e5ee843 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit d01e6126c7e91d3c660033cf970f6094ea080abb Author: Matias Elo matias.elo@nokia.com Date: Wed Dec 12 12:17:34 2018 +0200
linux-gen: netmap: update ring->head in netmap_recv_desc()
Netmap function nm_ring_empty() implementation has been modified to use ring->head instead of ring->cur.
Reported-by: Jari Mustajärvi jari.mustajarvi@nokia-bell-labs.com Signed-off-by: Matias Elo matias.elo@nokia.com Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/pktio/netmap.c b/platform/linux-generic/pktio/netmap.c index 53d3e58c..8fb23153 100644 --- a/platform/linux-generic/pktio/netmap.c +++ b/platform/linux-generic/pktio/netmap.c @@ -842,8 +842,8 @@ static inline int netmap_recv_desc(pktio_entry_t *pktio_entry, "B\n", ring->slot[slot_id].len); } ring->cur = nm_ring_next(ring, slot_id); + ring->head = ring->cur; } - ring->head = ring->cur; ring_id++; } desc->cur_rx_ring = ring_id;
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/pktio/netmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive