Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243568
b: refs/heads/master
c: 5302009
h: refs/heads/master
v: v3
  • Loading branch information
Yevgeny Petrilin authored and David S. Miller committed Mar 31, 2011
1 parent a4e8bd2 commit 4a5246d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e8996e72899847269ca36061ea33ea24bf6cb90
refs/heads/master: 53020092bd89b0d4ccc5368a3956f43cb43e5665
3 changes: 2 additions & 1 deletion trunk/drivers/net/mlx4/mcg.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ static int remove_promisc_qp(struct mlx4_dev *dev, u8 vep_num, u8 port,

/*remove from list of promisc qps */
list_del(&pqp->list);
kfree(pqp);

/* set the default entry not to include the removed one */
mailbox = mlx4_alloc_cmd_mailbox(dev);
Expand Down Expand Up @@ -528,6 +527,8 @@ static int remove_promisc_qp(struct mlx4_dev *dev, u8 vep_num, u8 port,
out_list:
if (back_to_list)
list_add_tail(&pqp->list, &s_steer->promisc_qps[steer]);
else
kfree(pqp);
out_mutex:
mutex_unlock(&priv->mcg_table.mutex);
return err;
Expand Down

0 comments on commit 4a5246d

Please sign in to comment.