mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 10:04:12 +08:00
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>
This commit is contained in:
parent
ea6cc2fd8a
commit
5e2ad02e90
@ -53,8 +53,6 @@ struct flow_offload_tuple {
|
||||
u8 l4proto;
|
||||
u8 dir;
|
||||
|
||||
int oifidx;
|
||||
|
||||
u16 mtu;
|
||||
|
||||
struct dst_entry *dst_cache;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user