Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278286
b: refs/heads/master
c: e92036a
h: refs/heads/master
v: v3
  • Loading branch information
RongQing.Li authored and David S. Miller committed Nov 29, 2011
1 parent c809a4e commit 12c8ae6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 115d2a3de2fd7d501369b0091c5c485a72ed90ed
refs/heads/master: e92036a6516d07f61d4c214970a35ff05b919c25
4 changes: 1 addition & 3 deletions trunk/net/ipv4/ipmr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,6 @@ static int ipmr_device_event(struct notifier_block *this, unsigned long event, v
struct mr_table *mrt;
struct vif_device *v;
int ct;
LIST_HEAD(list);

if (event != NETDEV_UNREGISTER)
return NOTIFY_DONE;
Expand All @@ -1529,10 +1528,9 @@ static int ipmr_device_event(struct notifier_block *this, unsigned long event, v
v = &mrt->vif_table[0];
for (ct = 0; ct < mrt->maxvif; ct++, v++) {
if (v->dev == dev)
vif_delete(mrt, ct, 1, &list);
vif_delete(mrt, ct, 1, NULL);
}
}
unregister_netdevice_many(&list);
return NOTIFY_DONE;
}

Expand Down

0 comments on commit 12c8ae6

Please sign in to comment.