hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/net/packet/diag.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/module.h>
23 #include <linux/sock_diag.h>
34 #include <linux/net.h>
....@@ -39,7 +40,7 @@
3940 struct nlattr *mca;
4041 struct packet_mclist *ml;
4142
42
- mca = nla_nest_start(nlskb, PACKET_DIAG_MCLIST);
43
+ mca = nla_nest_start_noflag(nlskb, PACKET_DIAG_MCLIST);
4344 if (!mca)
4445 return -EMSGSIZE;
4546