From: David S. Miller <davem@davemloft.net>
Date: Wed, 27 Nov 2019 18:53:37 +0000 (-0800)
Subject: Merge branch 'mscc-skb-lists'
X-Git-Tag: v5.5-rc1~129^2~3
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a02e3991af3d8fd6c529331554d543bc329f5669;p=users%2Fjedix%2Flinux-maple.git

Merge branch 'mscc-skb-lists'

Yangbo Lu says:

====================
net: mscc: ocelot: fix potential issues accessing skbs list

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
---

a02e3991af3d8fd6c529331554d543bc329f5669