diff options
author | Michael Chan <mchan@broadcom.com> | 2006-07-25 16:38:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-07-25 16:38:29 -0700 |
commit | 32d8c5724b7b05c7d8f7386c49432104cc222e32 (patch) | |
tree | 6aead952a08a295135c5faf7da5ff8523a6e4616 /drivers/scsi/ipr.c | |
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>
Diffstat (limited to 'drivers/scsi/ipr.c')
0 files changed, 0 insertions, 0 deletions