* [PATCH 2/3] add PROTO_CMSG_DATA_ONLY to inet_dgram_ops
@ 2020-12-12 15:31 Victor Stewart
0 siblings, 0 replies; only message in thread
From: Victor Stewart @ 2020-12-12 15:31 UTC (permalink / raw)
To: io-uring, Soheil Hassas Yeganeh, netdev, Stefan Metzmacher
add PROTO_CMSG_DATA_ONLY to inet_dgram_ops
Signed-off by: Victor Stewart <[email protected]>
---
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,
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-12 15:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-12 15:31 [PATCH 2/3] add PROTO_CMSG_DATA_ONLY to inet_dgram_ops Victor Stewart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox