net: systemport and bcmgenet OOM fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: systemport: check harder for out of memory conditionsdrivers/ | +19 | 0 replies | |
| 2/2 | net: bcmgenet: check harder for out of memory conditionsdrivers/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/2] net: systemport and bcmgenet OOM fixes
Hi David,
These two patches fix similar Out of Memory code paths in the SYSTEMPORT and GENET drivers. Under high memory pressure, we could produce an OOPS by passing a NULL pointer to dma_unmap_single().
Thanks!
Florian Fainelli (2):
net: systemport: check harder for out of memory conditions
net: bcmgenet: check harder for out of memory conditions
drivers/net/ethernet/broadcom/bcmsysport.c | 31 ++++++++++++++---------- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 33 +++++++++++++++----------- 2 files changed, 38 insertions(+), 26 deletions(-)
Signature · 1 line
1.9.1