Skip to content

Commit dc33da5

Browse files
David Aherndavem330
authored andcommitted
net: ipv4: Remove flow arg from ip_mkroute_input
fl4 arg is not used; remove it. Signed-off-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9f09eae commit dc33da5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

net/ipv4/route.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1758,7 +1758,6 @@ static int ip_multipath_icmp_hash(struct sk_buff *skb)
17581758

17591759
static int ip_mkroute_input(struct sk_buff *skb,
17601760
struct fib_result *res,
1761-
const struct flowi4 *fl4,
17621761
struct in_device *in_dev,
17631762
__be32 daddr, __be32 saddr, u32 tos)
17641763
{
@@ -1883,7 +1882,7 @@ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr,
18831882
if (res.type != RTN_UNICAST)
18841883
goto martian_destination;
18851884

1886-
err = ip_mkroute_input(skb, &res, &fl4, in_dev, daddr, saddr, tos);
1885+
err = ip_mkroute_input(skb, &res, in_dev, daddr, saddr, tos);
18871886
out: return err;
18881887

18891888
brd_input:

0 commit comments

Comments
 (0)