Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156341
b: refs/heads/master
c: 1445863
h: refs/heads/master
i:
  156339: aefa51a
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Aug 2, 2009
1 parent a8f69bd commit ab8b70f
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 446e72f30eca76d6f9a1a54adf84d2c6ba2831f8
refs/heads/master: 144586301f6af5ae5943a002f030d8c626fa4fdd
2 changes: 1 addition & 1 deletion trunk/net/core/net_namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ int net_assign_generic(struct net *net, int id, void *data)
*/

ng->len = id;
memcpy(&ng->ptr, &old_ng->ptr, old_ng->len);
memcpy(&ng->ptr, &old_ng->ptr, old_ng->len * sizeof(void*));

rcu_assign_pointer(net->gen, ng);
call_rcu(&old_ng->rcu, net_generic_release);
Expand Down

0 comments on commit ab8b70f

Please sign in to comment.