Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. Conflicts: net/mac80211/rx.c91535613b6
("wifi: mac80211: don't drop all unprotected public action frames")6c02fab724
("wifi: mac80211: split ieee80211_drop_unencrypted_mgmt() return value") Adjacent changes: drivers/net/ethernet/apm/xgene/xgene_enet_main.c61471264c0
("net: ethernet: apm: Convert to platform remove callback returning void")d2ca43f306
("net: xgene: Fix unused xgene_enet_of_match warning for !CONFIG_OF") net/vmw_vsock/virtio_transport.c64c99d2d6a
("vsock/virtio: support to send non-linear skb")53b08c4985
("vsock/virtio: initialize the_virtio_vsock before using VQs") Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -278,7 +278,16 @@ err_nat:
|
||||
return err;
|
||||
}
|
||||
|
||||
static bool tcf_ct_flow_is_outdated(const struct flow_offload *flow)
|
||||
{
|
||||
return test_bit(IPS_SEEN_REPLY_BIT, &flow->ct->status) &&
|
||||
test_bit(IPS_HW_OFFLOAD_BIT, &flow->ct->status) &&
|
||||
!test_bit(NF_FLOW_HW_PENDING, &flow->flags) &&
|
||||
!test_bit(NF_FLOW_HW_ESTABLISHED, &flow->flags);
|
||||
}
|
||||
|
||||
static struct nf_flowtable_type flowtable_ct = {
|
||||
.gc = tcf_ct_flow_is_outdated,
|
||||
.action = tcf_ct_flow_table_fill_actions,
|
||||
.owner = THIS_MODULE,
|
||||
};
|
||||
|
Reference in New Issue
Block a user