diff options
author | David S. Miller <davem@davemloft.net> | 2019-11-27 10:53:37 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-27 10:53:37 -0800 |
commit | a02e3991af3d8fd6c529331554d543bc329f5669 (patch) | |
tree | aba3f3692d0cc33761d3db91cabc9d09d5b28911 /drivers/net/ethernet/seeq/sgiseeq.c | |
parent | a95069ecb7092d03b2ea1c39ee04514fe9627540 (diff) | |
parent | b049da1338082714262034a8c8b87022623dc106 (diff) | |
download | lwn-a02e3991af3d8fd6c529331554d543bc329f5669.tar.gz lwn-a02e3991af3d8fd6c529331554d543bc329f5669.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/seeq/sgiseeq.c')
0 files changed, 0 insertions, 0 deletions