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 5b5ad0c commit 2a5470bCopy full SHA for 2a5470b
net/ipv4/inet_diag.c
@@ -1365,6 +1365,7 @@ static int inet_diag_dump_compat(struct sk_buff *skb,
1365
req.sdiag_family = AF_UNSPEC; /* compatibility */
1366
req.sdiag_protocol = inet_diag_type2proto(cb->nlh->nlmsg_type);
1367
req.idiag_ext = rc->idiag_ext;
1368
+ req.pad = 0;
1369
req.idiag_states = rc->idiag_states;
1370
req.id = rc->id;
1371
@@ -1380,6 +1381,7 @@ static int inet_diag_get_exact_compat(struct sk_buff *in_skb,
1380
1381
req.sdiag_family = rc->idiag_family;
1382
req.sdiag_protocol = inet_diag_type2proto(nlh->nlmsg_type);
1383
1384
1385
1386
1387
0 commit comments