From patchwork Sat Dec 12 15:31:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Stewart X-Patchwork-Id: 343463 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DBFCC4361B for ; Sat, 12 Dec 2020 15:32:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E3AE9222BB for ; Sat, 12 Dec 2020 15:32:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439267AbgLLPce (ORCPT ); Sat, 12 Dec 2020 10:32:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393331AbgLLPcd (ORCPT ); Sat, 12 Dec 2020 10:32:33 -0500 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 179E7C061794 for ; Sat, 12 Dec 2020 07:31:53 -0800 (PST) Received: by mail-ed1-x544.google.com with SMTP id b73so12527087edf.13 for ; Sat, 12 Dec 2020 07:31:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nametag.social; s=google; h=mime-version:from:date:message-id:subject:to; bh=VSH9txC3VIcVOBiHlrdQM8uG2uXP61UxUJXLMpIkn8k=; b=MwK30BhT3/LgCxR5KtDlavEnj2PUKLlAdifYMq7lKSoPQgt+/Vi9z3x0DnV00jJQGc v/t89UoQbbBYh8HopS4P3559NzMn7UoVDmum9aQJwvLiun5XcoeqPZDt6sMWC3kCjOdp rFKfBwPfTMyUp01mqA4r8e8Z5jV1qXMK+/BOVrlNlBo3D2Cgy5eumjKJ90lYrzwCeMUm ChXw2h7YckMqYz6hQPhHCjXbARxgRKnrndl/TW8ixYuIY5KckzToJXgaCT6Hq9viCbNi 6fe3aJkNtk04rVFV2ntDPEfu+8yRUVMD27wO7QUwVkTnrF/ojzjg1YBLypc1lnxsXmsD yYSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VSH9txC3VIcVOBiHlrdQM8uG2uXP61UxUJXLMpIkn8k=; b=mFNNNlJB0V1Ij9gkmVa87K/qBHyFwrnUhpFQXRfIGlsC4Mg52Qeb+WDYKPK8ajCWv6 n+44O6Z5CRdbkCjj3Fky6Mh1d2fyF/uIXgXKfw+dsWki1gxbgCd/ojpGFp7vTAmLzS5T 0NFIoWY5fO4H0KEsgci/aJvFE70jsInuI1KALNH8IVtyN5ASX9vKVw4Xix2xkifcZrWP WWtXx4uKaD7tNXzfU6JbOw9mUQDGO7xPJPkvWGzpREvyCpCbhKds5gh4uCGB64OnvDqp yZg2RHw21jUYumVHwIyxgVvGAD10Tkh9JV27sJ08giJ7wPNqYs0qyOcSEuy+51HNeVmp 1Tgw== X-Gm-Message-State: AOAM533r2STDRwaEbdnuw10oqhtlM6yWy3HvJsyiLXF52xfVddxbEhqK m8a032niH3Re7RxhG+yOIlYvS9ruMmp9r5sV5GJNyQ== X-Google-Smtp-Source: ABdhPJxF6fTeF6AN58lmc2bRqPHd5BwYPdNgSu7oW0dohYF3m3xY8AVC/7H7sb0W5xqpSmTxeZ8vaoMm6ZnCJWRpUvs= X-Received: by 2002:aa7:c049:: with SMTP id k9mr16973431edo.49.1607787111890; Sat, 12 Dec 2020 07:31:51 -0800 (PST) MIME-Version: 1.0 From: Victor Stewart Date: Sat, 12 Dec 2020 15:31:41 +0000 Message-ID: Subject: [PATCH 2/3] add PROTO_CMSG_DATA_ONLY to inet_dgram_ops To: io-uring , Soheil Hassas Yeganeh , netdev , Stefan Metzmacher Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org add PROTO_CMSG_DATA_ONLY to inet_dgram_ops Signed-off by: Victor Stewart --- net/ipv4/af_inet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index b7260c8cef2e..c9fd5e7cfd6e 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c @@ -1052,6 +1052,7 @@ EXPORT_SYMBOL(inet_stream_ops); const struct proto_ops inet_dgram_ops = { .family = PF_INET, + .flags = PROTO_CMSG_DATA_ONLY, .owner = THIS_MODULE, .release = inet_release, .bind = inet_bind,