net/sched: Set the net-device for egress device instance
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 18 Oct 2017 15:38:08 +0000 (18:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2017 12:09:35 +0000 (13:09 +0100)
commit0843c092ee75bb375fbbb6b97a7c55e0069ae099
tree8d2033ba5d710d906fb14ab2c711b38614109a3d
parent322d95f04a8f375ced4f704eb612287d0730a163
net/sched: Set the net-device for egress device instance

Currently the netdevice field is not set and the egdev instance
is not functional, fix that.

Fixes: 3f55bdda8df ('net: sched: introduce per-egress action device callbacks')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_api.c