aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarcin Wojtas <[email protected]>2015-12-03 15:20:51 +0100
committerDavid S. Miller <[email protected]>2015-12-04 15:01:13 -0500
commitb5015854674b653d982f104936ec688e253469b9 (patch)
treea91116673bf5ef313005646d1f2b6cba1e35a052 /tools/perf/scripts/python
parent4229d502ad3091e54c6f2e44d21dd8190881b49c (diff)
net: mvpp2: fix refilling BM pools in RX path
In hitherto code in case of RX buffer allocation error during refill, original buffer is pushed to the network stack, but the amount of available buffer pointers in BM pool is decreased. This commit fixes the situation by moving refill call before skb_put(), and returning original buffer pointer to the pool in case of an error. Signed-off-by: Marcin Wojtas <[email protected]> Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit") Cc: <[email protected]> # v3.18+ Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions