Skip to content

Commit

Permalink
net: ipv4: Remove flow arg from ip_mkroute_input
Browse files Browse the repository at this point in the history
fl4 arg is not used; remove it.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David Ahern authored and David S. Miller committed Jan 8, 2017
1 parent 9f09eae commit dc33da5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1758,7 +1758,6 @@ static int ip_multipath_icmp_hash(struct sk_buff *skb)

static int ip_mkroute_input(struct sk_buff *skb,
struct fib_result *res,
const struct flowi4 *fl4,
struct in_device *in_dev,
__be32 daddr, __be32 saddr, u32 tos)
{
Expand Down Expand Up @@ -1883,7 +1882,7 @@ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr,
if (res.type != RTN_UNICAST)
goto martian_destination;

err = ip_mkroute_input(skb, &res, &fl4, in_dev, daddr, saddr, tos);
err = ip_mkroute_input(skb, &res, in_dev, daddr, saddr, tos);
out: return err;

brd_input:
Expand Down

0 comments on commit dc33da5

Please sign in to comment.