We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b74726 commit 61cf1c7Copy full SHA for 61cf1c7
net/ipv4/inet_diag.c
@@ -1383,6 +1383,7 @@ static int inet_diag_dump_compat(struct sk_buff *skb,
1383
req.sdiag_family = AF_UNSPEC; /* compatibility */
1384
req.sdiag_protocol = inet_diag_type2proto(cb->nlh->nlmsg_type);
1385
req.idiag_ext = rc->idiag_ext;
1386
+ req.pad = 0;
1387
req.idiag_states = rc->idiag_states;
1388
req.id = rc->id;
1389
@@ -1398,6 +1399,7 @@ static int inet_diag_get_exact_compat(struct sk_buff *in_skb,
1398
1399
req.sdiag_family = rc->idiag_family;
1400
req.sdiag_protocol = inet_diag_type2proto(nlh->nlmsg_type);
1401
1402
1403
1404
1405
0 commit comments