aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index e4d18f2a305d..a13ce2364ed2 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -2215,7 +2215,7 @@ static int ip_mkroute_input(struct sk_buff *skb,
2215 struct in_device *in_dev, 2215 struct in_device *in_dev,
2216 __be32 daddr, __be32 saddr, u32 tos) 2216 __be32 daddr, __be32 saddr, u32 tos)
2217{ 2217{
2218 struct rtable* rth = NULL; 2218 struct rtable *rth = NULL;
2219 int err; 2219 int err;
2220 unsigned hash; 2220 unsigned hash;
2221 2221
@@ -2257,11 +2257,11 @@ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr,
2257 struct flowi4 fl4; 2257 struct flowi4 fl4;
2258 unsigned flags = 0; 2258 unsigned flags = 0;
2259 u32 itag = 0; 2259 u32 itag = 0;
2260 struct rtable * rth; 2260 struct rtable *rth;
2261 unsigned hash; 2261 unsigned hash;
2262 __be32 spec_dst; 2262 __be32 spec_dst;
2263 int err = -EINVAL; 2263 int err = -EINVAL;
2264 struct net * net = dev_net(dev); 2264 struct net *net = dev_net(dev);
2265 2265
2266 /* IP on this device is disabled. */ 2266 /* IP on this device is disabled. */
2267 2267
@@ -2433,7 +2433,7 @@ martian_source_keep_err:
2433int ip_route_input_common(struct sk_buff *skb, __be32 daddr, __be32 saddr, 2433int ip_route_input_common(struct sk_buff *skb, __be32 daddr, __be32 saddr,
2434 u8 tos, struct net_device *dev, bool noref) 2434 u8 tos, struct net_device *dev, bool noref)
2435{ 2435{
2436 struct rtable * rth; 2436 struct rtable *rth;
2437 unsigned hash; 2437 unsigned hash;
2438 int iif = dev->ifindex; 2438 int iif = dev->ifindex;
2439 struct net *net; 2439 struct net *net;
@@ -3068,7 +3068,7 @@ nla_put_failure:
3068 return -EMSGSIZE; 3068 return -EMSGSIZE;
3069} 3069}
3070 3070
3071static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr* nlh, void *arg) 3071static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, void *arg)
3072{ 3072{
3073 struct net *net = sock_net(in_skb->sk); 3073 struct net *net = sock_net(in_skb->sk);
3074 struct rtmsg *rtm; 3074 struct rtmsg *rtm;