add PROTO_CMSG_DATA_ONLY to inet6_dgram_ops

Signed-off by: Victor Stewart <v@nametag.social>
---
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 via email to