Skip to content

Commit

Permalink
netfilter: nf_flow_table: remove unnecessary variable in flow_offload…
Browse files Browse the repository at this point in the history
…_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>
  • Loading branch information
Taehee Yoo authored and Pablo Neira Ayuso committed May 31, 2019
1 parent ea6cc2f commit 5e2ad02
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions include/net/netfilter/nf_flow_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ struct flow_offload_tuple {
u8 l4proto;
u8 dir;

int oifidx;

u16 mtu;

struct dst_entry *dst_cache;
Expand Down
1 change: 0 additions & 1 deletion net/netfilter/nf_flow_table_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5e2ad02

Please sign in to comment.