Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25920
b: refs/heads/master
c: 63903ca
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and David S. Miller committed Apr 18, 2006
1 parent 317d4aa commit 8264a0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 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: 40daafc80b0f6a950c9252f9f1a242ab5cb6a648
refs/heads/master: 63903ca6af3d9424a0c2b176f927fa7e7ab2ae8e
7 changes: 2 additions & 5 deletions trunk/net/ipv4/ipcomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,8 @@ static void ipcomp_free_scratches(void)
if (!scratches)
return;

for_each_possible_cpu(i) {
void *scratch = *per_cpu_ptr(scratches, i);
if (scratch)
vfree(scratch);
}
for_each_possible_cpu(i)
vfree(*per_cpu_ptr(scratches, i));

free_percpu(scratches);
}
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/tipc/name_distr.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ static void node_is_down(struct publication *publ)
publ->node, publ->ref, publ->key);
assert(p == publ);
write_unlock_bh(&tipc_nametbl_lock);
if (publ)
kfree(publ);
kfree(publ);
}

/**
Expand Down

0 comments on commit 8264a0d

Please sign in to comment.