aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-03-02 17:56:30 -0500
committerDavid S. Miller <davem@davemloft.net>2011-03-02 17:56:30 -0500
commit5bfa787fb2c29cce0722500f90df29e049ff07fc (patch)
tree21e90db4a0d480e9f9e9b931ee71657f2843a629 /net/ipv4/route.c
parentb23dd4fe42b455af5c6e20966b7d6959fa8352ea (diff)
ipv4: ip_route_output_key() is better as an inline.
This avoid a stack frame at zero cost. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 5090e956f6b..432eee64564 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -2736,12 +2736,6 @@ struct rtable *ip_route_output_flow(struct net *net, struct flowi *flp,
2736} 2736}
2737EXPORT_SYMBOL_GPL(ip_route_output_flow); 2737EXPORT_SYMBOL_GPL(ip_route_output_flow);
2738 2738
2739struct rtable *ip_route_output_key(struct net *net, struct flowi *flp)
2740{
2741 return ip_route_output_flow(net, flp, NULL);
2742}
2743EXPORT_SYMBOL(ip_route_output_key);
2744
2745static int rt_fill_info(struct net *net, 2739static int rt_fill_info(struct net *net,
2746 struct sk_buff *skb, u32 pid, u32 seq, int event, 2740 struct sk_buff *skb, u32 pid, u32 seq, int event,
2747 int nowait, unsigned int flags) 2741 int nowait, unsigned int flags)