Message ID | 20191127072757.34502-1-yangbo.lu@nxp.com |
---|---|
Headers | show |
Series | net: mscc: ocelot: fix potential issues accessing skbs list | expand |
From: Yangbo Lu <yangbo.lu@nxp.com> Date: Wed, 27 Nov 2019 15:27:55 +0800 > Fix two prtential issues accessing skbs list. > - Break the matching loop when find the matching skb to avoid > consuming more skbs incorrectly. The timestamp ID is only > from 0 to 3 while the FIFO supports 128 timestamps at most. > - Convert to use skb queue instead of the list of skbs to provide > protect with lock. > > --- > Changes for v2: > - Split into two patches. > - Converted to use skb queue. Series applied, thanks.