[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1410201472-3764-1-git-send-email-f.fainelli@gmail.com>
Date: Mon, 8 Sep 2014 11:37:50 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, Florian Fainelli <f.fainelli@...il.com>
Subject: [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(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists