Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155887
b: refs/heads/master
c: c8a5a65
h: refs/heads/master
i:
  155885: db516e5
  155883: a414a7d
  155879: 77e5a15
  155871: 3193a96
v: v3
  • Loading branch information
Dhananjay Phadke authored and David S. Miller committed Jul 27, 2009
1 parent f71a1e3 commit fdb0b48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c587aea951a56d29741a3cef4ea3e142c93b3207
refs/heads/master: c8a5a658b826508c7c61b57e9a590f7b8760fb51
7 changes: 7 additions & 0 deletions trunk/drivers/net/netxen/netxen_nic_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@ void netxen_free_sw_resources(struct netxen_adapter *adapter)
kfree(recv_ctx->rds_rings);

skip_rds:
if (recv_ctx->sds_rings == NULL)
goto skip_sds;

for(ring = 0; ring < adapter->max_sds_rings; ring++)
recv_ctx->sds_rings[ring].consumer = 0;

skip_sds:
if (adapter->tx_ring == NULL)
return;

Expand Down

0 comments on commit fdb0b48

Please sign in to comment.