We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4116ec6 commit 7696564Copy full SHA for 7696564
net/ipv4/inet_diag.c
@@ -1281,6 +1281,7 @@ static int inet_diag_dump_compat(struct sk_buff *skb,
1281
req.sdiag_family = AF_UNSPEC; /* compatibility */
1282
req.sdiag_protocol = inet_diag_type2proto(cb->nlh->nlmsg_type);
1283
req.idiag_ext = rc->idiag_ext;
1284
+ req.pad = 0;
1285
req.idiag_states = rc->idiag_states;
1286
req.id = rc->id;
1287
@@ -1296,6 +1297,7 @@ static int inet_diag_get_exact_compat(struct sk_buff *in_skb,
1296
1297
req.sdiag_family = rc->idiag_family;
1298
req.sdiag_protocol = inet_diag_type2proto(nlh->nlmsg_type);
1299
1300
1301
1302
1303
0 commit comments