[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130410.152554.577565652647867986.davem@davemloft.net>
Date: Wed, 10 Apr 2013 15:25:54 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: nhorman@...driver.com, netdev@...r.kernel.org, gospo@...hat.com,
sassmann@...hat.com, jwboyer@...hat.com,
e1000-devel@...ts.sourceforge.net
Subject: Re: [net] e100: Add dma mapping error check
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Wed, 10 Apr 2013 02:19:00 -0700
> From: Neil Horman <nhorman@...driver.com>
>
> e100 uses pci_map_single, but fails to check for a dma mapping error after its
> use, resulting in a stack trace:
...
> Easy fix, modify the cb paramter to e100_exec_cb to return an error, and do the
> dma_mapping_error check in the obvious place
>
> This was reported previously here:
> http://article.gmane.org/gmane.linux.network/257893
>
> But nobody stepped up and fixed it.
>
> CC: Josh Boyer <jwboyer@...hat.com>
> CC: e1000-devel@...ts.sourceforge.net
> Signed-off-by: Neil Horman <nhorman@...driver.com>
> Reported-by: Michal Jaegermann <michal@...ddata.com>
> Tested-by: Aaron Brown <aaron.f.brown@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Applied, thanks.
--
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