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>
This commit is contained in:

committed by
David S. Miller

parent
c9ad5a6568
commit
cd2a9e62c8
@@ -108,7 +108,7 @@ EXPORT_SYMBOL_GPL(l3mdev_fib_table_by_index);
|
||||
*/
|
||||
|
||||
struct dst_entry *l3mdev_get_rt6_dst(struct net *net,
|
||||
const struct flowi6 *fl6)
|
||||
struct flowi6 *fl6)
|
||||
{
|
||||
struct dst_entry *dst = NULL;
|
||||
struct net_device *dev;
|
||||
|
Reference in New Issue
Block a user