aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-08-18 11:11:50 +0000
committerDavid S. Miller <[email protected]>2017-08-18 17:28:06 +0000
commiteac2c68d663effb077210218788952b5a0c1f60e (patch)
treefcd5bc7f3dd1f73d6f767626de623b55eaf8cd36 /net/unix/af_unix.c
parentnet: sched: fix p_filter_chain check in tcf_chain_flush (diff)
downloadkernel-eac2c68d663effb077210218788952b5a0c1f60e.tar.gz
kernel-eac2c68d663effb077210218788952b5a0c1f60e.zip
nfp: fix infinite loop on umapping cleanup
The while loop that performs the dma page unmapping never decrements index counter f and hence loops forever. Fix this with a pre-decrement on f. Detected by CoverityScan, CID#1357309 ("Infinite loop") Fixes: 4c3523623dc0 ("net: add driver for Netronome NFP4000/NFP6000 NIC VFs") Signed-off-by: Colin Ian King <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions