aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJiri Pirko2017-08-07 10:15:19 +0200
committerDavid S. Miller2017-08-07 09:42:35 -0700
commit3e0e82664322290a59189f7c2bcb39b0de932505 (patch)
treefbcc517bbeaabed6834c68248f9ca563e97ea83a /net
parentade9b6588420b335851951702ab975c975b0c1b2 (diff)
net: sched: make egress_dev flag part of flower offload struct
Since this is specific to flower now, make it part of the flower offload struct. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/sched/cls_flower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_flower.c b/net/sched/cls_flower.c
index ddeed17d2024..52deeed2b7f5 100644
--- a/net/sched/cls_flower.c
+++ b/net/sched/cls_flower.c
@@ -259,7 +259,7 @@ static int fl_hw_replace_filter(struct tcf_proto *tp,
return tc_skip_sw(f->flags) ? -EINVAL : 0;
}
dev = f->hw_dev;
- tc->egress_dev = true;
+ offload.egress_dev = true;
} else {
f->hw_dev = dev;
}