commit | 32d8c5724b7b05c7d8f7386c49432104cc222e32 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Tue Jul 25 16:38:29 2006 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 25 16:38:29 2006 -0700 |
tree | 6aead952a08a295135c5faf7da5ff8523a6e4616 | |
parent | b9ec6c1b917e2e43a058a78198d54aeca3d71c6f [diff] |
[TG3]: Handle tg3_init_rings() failures Handle dev_alloc_skb() failures when initializing the RX rings. Without proper handling, the driver will crash when using a partial ring. Thanks to Stephane Doyon <sdoyon@max-t.com> for reporting the bug and providing the initial patch. Howie Xu <howie@vmware.com> also reported the same issue. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>