netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: systemport and bcmgenet OOM fixes
@ 2014-09-08 18:37 Florian Fainelli
  2014-09-08 18:37 ` [PATCH net 1/2] net: systemport: check harder for out of memory conditions Florian Fainelli
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Fainelli @ 2014-09-08 18:37 UTC (permalink / raw)
  To: netdev; +Cc: davem, Florian Fainelli

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(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-08 23:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-08 18:37 [PATCH net 0/2] net: systemport and bcmgenet OOM fixes Florian Fainelli
2014-09-08 18:37 ` [PATCH net 1/2] net: systemport: check harder for out of memory conditions Florian Fainelli
2014-09-08 18:37 ` [PATCH net 2/2] net: bcmgenet: " Florian Fainelli
2014-09-08 23:03 ` [PATCH net 0/2] net: systemport and bcmgenet OOM fixes David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).