From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8355AC433FE for ; Wed, 11 May 2022 15:26:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343645AbiEKP0o (ORCPT ); Wed, 11 May 2022 11:26:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343633AbiEKP0k (ORCPT ); Wed, 11 May 2022 11:26:40 -0400 Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB63B377E7; Wed, 11 May 2022 08:26:39 -0700 (PDT) Received: by mail-qv1-xf35.google.com with SMTP id f3so2344639qvi.2; Wed, 11 May 2022 08:26:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q7Ehf8HVMk4hFN0gtPFwkycDqnQI5Sc0W9LhYQbeDYM=; b=LmYZT/lJddRubn1os+gEg6veGjF+5UlCsck5gVQNemN17Y4loTgv+VdRdwbmEc0Wk8 Ir6mmtSK0EtnnVZROY/a39iIs9jGNW+YCvMPsk/SzOwy544uHqEPevezVFHwRU5Mq81E JjsQuN/SAQiVsfPUDdgrxpUYasG2lvlg8RVr51yQd/q2SVL3bQi8IslwFmZCGXZ9FNfQ SZFq08k/l6r+jHDofbsAv33vEt5LvgCh6DOwkaLIE6NPDqKKu4WzbddhTP1vLhZOWrZu sjBqV2KpTNWAZKAxnlakivDQBdkbTC/O+QyQO8fV3eAsveNbCSaMx4RQ33+hk6bau+KP F3FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q7Ehf8HVMk4hFN0gtPFwkycDqnQI5Sc0W9LhYQbeDYM=; b=1cK0xAkNEH2psqhOZ9aRB33aLe2wIPdhbUUIzt7CDmcn6lhIwNovkkPt/2YMZBDClS Sx82XACVasjK7nBxVBAjkeIaPQ9xn+ykF93ZAYAvm1TgQ2mbCG0kM8vfKcxkoM1cT94S dpR3O4myUn1p8td48jF8Vmjjs6QnRGv/vWvPaR+bkZCl0YHZ+yX/10YIYwoEHV4aRvlY WrEMdL+0Rn71NiPxvb/f/gPtekkkbAgou9+91BaYY+NSBghpVRlGzGDiwbaFvmrNCkmn dGn+Bv7wQ79jMO4fEs1vJFiHNL4OQtbGmKglR52hh8Fu8bRzDf+3XL6NyGlMR5n0G5vH TQ8w== X-Gm-Message-State: AOAM532WpkCWegzJ+RTK/3CKsML1hfuWks3+NLPnYhRpBgK7Jvj035cR DYhVlBsmE5XHzgPuqEpD8LOoZKFSWTV8m19/QpM= X-Google-Smtp-Source: ABdhPJwF57CnU/d5s+HYeo9V1/sXiaWr5X3zghUeHL0tHGbsDb4LSmLiBNA0xY9qvPjlaf7oIXvd7zm3n1aOgrDKtKg= X-Received: by 2002:ad4:5ca3:0:b0:45a:89fb:3795 with SMTP id q3-20020ad45ca3000000b0045a89fb3795mr22749487qvh.63.1652282798755; Wed, 11 May 2022 08:26:38 -0700 (PDT) MIME-Version: 1.0 References: <1327f8f5696ff2bc60400e8f3b79047914ccc837.1651595019.git.lorenzo@kernel.org> In-Reply-To: <1327f8f5696ff2bc60400e8f3b79047914ccc837.1651595019.git.lorenzo@kernel.org> From: Alexei Starovoitov Date: Wed, 11 May 2022 08:26:27 -0700 Message-ID: Subject: Re: [PATCH bpf-next] net: netfilter: add kfunc helper to update ct timeout To: Lorenzo Bianconi Cc: bpf , Network Development , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Pablo Neira Ayuso , Florian Westphal , netfilter-devel , Lorenzo Bianconi , Jesper Dangaard Brouer , =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= , Kumar Kartikeya Dwivedi Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Tue, May 3, 2022 at 9:29 AM Lorenzo Bianconi wrote: > > Introduce bpf_ct_refresh_timeout kfunc helper in order to update time > nf_conn lifetime. Move timeout update logic in nf_ct_refresh_timeout > utility routine. > > Signed-off-by: Lorenzo Bianconi Looks good, but selftest and Ack from Kumar is needed.