Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45441
b: refs/heads/master
c: 483479e
h: refs/heads/master
i:
  45439: 3c68869
v: v3
  • Loading branch information
Jarek Poplawski authored and David S. Miller committed Jan 9, 2007
1 parent 25e3978 commit 125772d
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: 469de9b90f739f130ab3d483e819888e977596b8
refs/heads/master: 483479ecc565b7f5845997138eddf5ecbc2684b1
3 changes: 2 additions & 1 deletion trunk/net/ipv4/devinet.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,10 @@ struct in_device *inetdev_init(struct net_device *dev)
ip_mc_init_dev(in_dev);
if (dev->flags & IFF_UP)
ip_mc_up(in_dev);
out:

/* we can receive as soon as ip_ptr is set -- do this last */
rcu_assign_pointer(dev->ip_ptr, in_dev);
out:
return in_dev;
out_kfree:
kfree(in_dev);
Expand Down

0 comments on commit 125772d

Please sign in to comment.