Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9447
b: refs/heads/master
c: 735631a
h: refs/heads/master
i:
  9445: 6900662
  9443: 37da2d8
  9439: 181fe58
v: v3
  • Loading branch information
Martin Whitaker authored and David S. Miller committed Sep 28, 2005
1 parent ca602e4 commit 28aecef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 9301e320e98ff19a0e48881b038d0c24ca76e6c0
refs/heads/master: 735631a9196db42631b8817892605ee72e13a58b
6 changes: 4 additions & 2 deletions trunk/net/atm/addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ void atm_reset_addr(struct atm_dev *dev)
struct atm_dev_addr *this, *p;

spin_lock_irqsave(&dev->lock, flags);
list_for_each_entry_safe(this, p, &dev->local, entry)
kfree(this);
list_for_each_entry_safe(this, p, &dev->local, entry) {
list_del(&this->entry);
kfree(this);
}
spin_unlock_irqrestore(&dev->lock, flags);
notify_sigd(dev);
}
Expand Down

0 comments on commit 28aecef

Please sign in to comment.