Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 955
b: refs/heads/master
c: 60d5306
h: refs/heads/master
i:
  953: 0f6475a
  951: 562d45d
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed May 5, 2005
1 parent 49afc75 commit fbf296c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 3ef4e9a8db6c65de7c7f4bc013d62b0d73f50dce
refs/heads/master: 60d530655334369b62f260296a5ed1646a9529f0
6 changes: 3 additions & 3 deletions trunk/net/ipv4/multipath_wrandom.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ static void wrandom_select_route(const struct flowi *flp,
multipath_comparekeys(&rt->fl, flp)) {
struct multipath_candidate* mpc =
(struct multipath_candidate*)
kmalloc(size_mpc, GFP_KERNEL);
kmalloc(size_mpc, GFP_ATOMIC);

if (!mpc)
return;
Expand Down Expand Up @@ -244,7 +244,7 @@ static void wrandom_set_nhinfo(__u32 network,
if (!target_route) {
const size_t size_rt = sizeof(struct multipath_route);
target_route = (struct multipath_route *)
kmalloc(size_rt, GFP_KERNEL);
kmalloc(size_rt, GFP_ATOMIC);

target_route->gw = nh->nh_gw;
target_route->oif = nh->nh_oif;
Expand All @@ -265,7 +265,7 @@ static void wrandom_set_nhinfo(__u32 network,
if (!target_dest) {
const size_t size_dst = sizeof(struct multipath_dest);
target_dest = (struct multipath_dest*)
kmalloc(size_dst, GFP_KERNEL);
kmalloc(size_dst, GFP_ATOMIC);

target_dest->nh_info = nh;
target_dest->network = network;
Expand Down

0 comments on commit fbf296c

Please sign in to comment.