aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/mptcp/crypto_test.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2020-06-24 14:34:19 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-25 16:03:39 -0700
commit0e5ad75b02d9341eb9ca22627247f9a02cc20d6f (patch)
treed4a9eeb84a006026262d36b7fdb0e878270aafdf /net/mptcp/crypto_test.c
parentdpaa2-eth: check the result of skb_to_sgvec() (diff)
downloadwireguard-linux-0e5ad75b02d9341eb9ca22627247f9a02cc20d6f.tar.xz
wireguard-linux-0e5ad75b02d9341eb9ca22627247f9a02cc20d6f.zip
dpaa2-eth: fix condition for number of buffer acquire retries
We should keep retrying to acquire buffers through the software portals as long as the function returns -EBUSY and the number of retries is __below__ DPAA2_ETH_SWP_BUSY_RETRIES. Fixes: ef17bd7cc0c8 ("dpaa2-eth: Avoid unbounded while loops") Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/crypto_test.c')
0 files changed, 0 insertions, 0 deletions