public inbox for [email protected]
 help / color / mirror / Atom feed
From: Victor Stewart <[email protected]>
To: io-uring <[email protected]>,
	netdev <[email protected]>,
	Soheil Hassas Yeganeh <[email protected]>,
	Stefan Metzmacher <[email protected]>
Subject: [PATCH 3/3] add PROTO_CMSG_DATA_ONLY to inet6_dgram_ops
Date: Sat, 12 Dec 2020 15:31:44 +0000	[thread overview]
Message-ID: <CAM1kxwguzWCReTdiGG6wV8L9MPi51QmOCbHiKS6cHNTrJD=E1Q@mail.gmail.com> (raw)

add PROTO_CMSG_DATA_ONLY to inet6_dgram_ops

Signed-off by: Victor Stewart <[email protected]>
---
net/ipv6/af_inet6.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index e648fbebb167..560f45009d06 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -695,6 +695,7 @@ const struct proto_ops inet6_stream_ops = {

 const struct proto_ops inet6_dgram_ops = {
        .family            = PF_INET6,
+       .flags             = PROTO_CMSG_DATA_ONLY,
        .owner             = THIS_MODULE,
        .release           = inet6_release,
        .bind              = inet6_bind,

                 reply	other threads:[~2020-12-12 15:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM1kxwguzWCReTdiGG6wV8L9MPi51QmOCbHiKS6cHNTrJD=E1Q@mail.gmail.com' \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox