summaryrefslogtreecommitdiff
path: root/net/netfilter
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2019-05-15 22:02:31 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2019-05-31 19:02:42 +0300
commit5e2ad02e9001fd99cae3c14e52f67bb976e9bee3 (patch)
tree38def584564ecdc19fd83b3bf355a94a3b64e56c /net/netfilter
parentea6cc2fd8a2b89ab6dcd096ba6dbc1ecbdf26564 (diff)
downloadlinux-5e2ad02e9001fd99cae3c14e52f67bb976e9bee3.tar.xz
netfilter: nf_flow_table: remove unnecessary variable in flow_offload_tuple
The oifidx in the struct flow_offload_tuple is not used anymore. Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/nf_flow_table_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/netfilter/nf_flow_table_core.c b/net/netfilter/nf_flow_table_core.c
index 948b4ebbe3fb..e3d797252a98 100644
--- a/net/netfilter/nf_flow_table_core.c
+++ b/net/netfilter/nf_flow_table_core.c
@@ -53,7 +53,6 @@ flow_offload_fill_dir(struct flow_offload *flow, struct nf_conn *ct,
ft->dst_port = ctt->dst.u.tcp.port;
ft->iifidx = other_dst->dev->ifindex;
- ft->oifidx = dst->dev->ifindex;
ft->dst_cache = dst;
}