aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2017-06-14 11:48:48 +0200
committerDavid S. Miller <[email protected]>2017-06-14 15:23:51 -0400
commit7608894e43d071ef2322a01c79522954c070ac6c (patch)
tree0648fe138448f46085291c26b3a7baabfadc2e6b /tools/perf/scripts/python/bin
parent4cbf87c78950b439df599053214b09d8f7461765 (diff)
net: use skb_unref() in napi_consume_skb()
The commit 83ada39bb79d ("net: factor out a helper to decrement the skb refcount") provided and used a helper for decrementing skb usage, but I missed at least a spot for it. This change remove some more duplicated code reusing skb_unref() in napi_consume_skb(), too. The helper uses an additional, unneeded unlikely(!skb) test - napi_consume_skb() already check it a few lines above - but the compiler is smart enough to optimize the duplicated test out. Signed-off-by: Paolo Abeni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions