Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90789
b: refs/heads/master
c: 57d7a60
h: refs/heads/master
i:
  90787: fe62572
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Apr 16, 2008
1 parent df778e2 commit 1d91665
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: cd5342d9055545624187a2d47e68bdabc1ca9963
refs/heads/master: 57d7a6009241fe04a699e5f65d55cf5cb7008fc7
3 changes: 2 additions & 1 deletion trunk/net/ipv4/fib_semantics.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ void free_fib_info(struct fib_info *fi)
nh->nh_dev = NULL;
} endfor_nexthops(fi);
fib_info_cnt--;
release_net(fi->fib_net);
kfree(fi);
}

Expand Down Expand Up @@ -730,7 +731,7 @@ struct fib_info *fib_create_info(struct fib_config *cfg)
goto failure;
fib_info_cnt++;

fi->fib_net = net;
fi->fib_net = hold_net(net);
fi->fib_protocol = cfg->fc_protocol;
fi->fib_flags = cfg->fc_flags;
fi->fib_priority = cfg->fc_priority;
Expand Down

0 comments on commit 1d91665

Please sign in to comment.