forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
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