diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2016-06-13 13:44:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-15 12:34:34 -0700 |
commit | cd2a9e62c8a3c5cae7691982667d79a0edc65283 (patch) | |
tree | 683e68b3c247def41683ba98ff798367a8b2a1bf /drivers | |
parent | c9ad5a6568fb9b81c8fc10bd97867def79d2e41d (diff) | |
download | linux-cd2a9e62c8a3c5cae7691982667d79a0edc65283.tar.bz2 |
net: l3mdev: Remove const from flowi6 arg to get_rt6_dst
Allow drivers to pass flow arg to functions where the arg is not const
and allow the driver to make updates as needed (eg., setting oif).
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/vrf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index b4d746943bc5..d2ce76c9dc64 100644 --- a/drivers/net/vrf.c +++ b/drivers/net/vrf.c @@ -861,7 +861,7 @@ static struct sk_buff *vrf_l3_rcv(struct net_device *vrf_dev, #if IS_ENABLED(CONFIG_IPV6) static struct dst_entry *vrf_get_rt6_dst(const struct net_device *dev, - const struct flowi6 *fl6) + struct flowi6 *fl6) { struct dst_entry *dst = NULL; |