diff mbox series

[2/3] add PROTO_CMSG_DATA_ONLY to inet_dgram_ops

Message ID CAM1kxwg0jAoiL9esvh-RKRPdP+8_8rrYE1Bn2eR_0NSOcqUOHg@mail.gmail.com
State New
Headers show
Series None | expand

Commit Message

Victor Stewart Dec. 12, 2020, 3:31 p.m. UTC
add PROTO_CMSG_DATA_ONLY to inet_dgram_ops

Signed-off by: Victor Stewart <v@nametag.social>
---
net/ipv4/af_inet.c | 1 +
1 file changed, 1 insertion(+)
diff mbox series

Patch

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,