Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 00DAC27F3F for ; Fri, 21 Jul 2023 15:46:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689954412; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rNFjdn1cJe3W3GDz3p2hYWy9X82R6mH5l3mX+Q0R/JM=; b=N7OzTd3cVGPh1A2ElcePXkdDGMwbGLHu3521+2RJ2+eLg+mTNkR9j4FvFBEBUpppvcafGp FTicMwT3YrcM8gi9x2ylTTxlrg2cirkJD/DJU/lY0xmGe+REbJ2nSNCCiqgZRKOcm+6vCA m4heWcEQKHBY/YiXuVIqBGWNAi1f5vI= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-477-gxhGpigCNAePKlenrPiYPw-1; Fri, 21 Jul 2023 11:46:51 -0400 X-MC-Unique: gxhGpigCNAePKlenrPiYPw-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-767d30ab094so54407185a.1 for ; Fri, 21 Jul 2023 08:46:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689954411; x=1690559211; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=dbMtNrSDru2XQJxyaG3WW5PysO3z2nzIuw80FyqFGBc=; b=ALnZEtNvCcBzu1G3J9gUWAhrnCHHptZ6xHR8g8sRnEDay9nb/B5tiWg2sO/JVS+vq3 uMwndYjZCxKkJLT6hTpHbNFXWoKEhUrWc1Whu2Cs3PwVkTVaVSlMyiiCO3pRKJxWzMPy 9drpEsHPslgNdFJQF67Z4jwiWeXdzohrnLIgh8CDi8qCtfeHtptodfRQVlOg4ymB5EHT k5IVhS4nTdbzKwF5QRmZ9BJDOWcZSdPhQx6UIqs1oikjSnrzWtJopYfigJ4osqDz7jPb k/9tmvRk6qcl+cMJ5Otnrv0rPNnOsGgzB4UfZgIkSLmhrORIL2uv1FrlHGGvf0/aOsRv FB4w== X-Gm-Message-State: ABy/qLb2/Cc6CbjoHF1texPcu7E3f2xD4MmcIogKxOEAoDKB/i/PFSBB DDBdno9qGNdDe8akxOWKBzLm6gZnSfO4TBqwtIHtMtmVNK0IrvM8ga2cUwj4If1hZj6FN3EHYik K/wuqvurzxcp2WqE= X-Received: by 2002:a05:620a:1a27:b0:765:58ac:9458 with SMTP id bk39-20020a05620a1a2700b0076558ac9458mr2402107qkb.7.1689954410776; Fri, 21 Jul 2023 08:46:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlGRrus2rUOhyFc9jv/oLwhT5GUurZH5VjKbgSjbK05goEW7dcl4HtupIE5y26qMutus5U8FpQ== X-Received: by 2002:a05:620a:1a27:b0:765:58ac:9458 with SMTP id bk39-20020a05620a1a2700b0076558ac9458mr2402085qkb.7.1689954410443; Fri, 21 Jul 2023 08:46:50 -0700 (PDT) Received: from gerbillo.redhat.com (146-241-226-170.dyn.eolo.it. [146.241.226.170]) by smtp.gmail.com with ESMTPSA id r29-20020a05620a03dd00b00767f00a9c67sm1175194qkm.95.2023.07.21.08.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:46:50 -0700 (PDT) Message-ID: Subject: Re: [PATCH mptcp-next 5/5] net: mptcp: use policy generated by YAML spec From: Paolo Abeni To: Davide Caratti , Matthieu Baerts Cc: mptcp@lists.linux.dev Date: Fri, 21 Jul 2023 17:46:47 +0200 In-Reply-To: <01e81e72cbd1720e2bb210f9c32039620731933d.1689932012.git.dcaratti@redhat.com> References: <01e81e72cbd1720e2bb210f9c32039620731933d.1689932012.git.dcaratti@redhat.com> User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2023-07-21 at 11:53 +0200, Davide Caratti wrote: > @@ -1325,14 +1279,14 @@ static int mptcp_nl_add_subflow_or_signal_addr(st= ruct net *net) > =09return 0; > } > =20 > -static int mptcp_nl_cmd_add_addr(struct sk_buff *skb, struct genl_info *= info) > +int mptcp_pm_nl_add_addr_doit(struct sk_buff *skb, struct genl_info *inf= o) What about moving the command conversion to _doit, _dumpit to a separate patch, earlier in the series? so that here lands only the strictly needed changes. Such patch could carry even the userspace_pm conversion. Cheers, Paolo