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 3908637 commit 7ef519cCopy full SHA for 7ef519c
net/ipv4/inet_diag.c
@@ -1275,6 +1275,7 @@ static int inet_diag_dump_compat(struct sk_buff *skb,
1275
req.sdiag_family = AF_UNSPEC; /* compatibility */
1276
req.sdiag_protocol = inet_diag_type2proto(cb->nlh->nlmsg_type);
1277
req.idiag_ext = rc->idiag_ext;
1278
+ req.pad = 0;
1279
req.idiag_states = rc->idiag_states;
1280
req.id = rc->id;
1281
@@ -1290,6 +1291,7 @@ static int inet_diag_get_exact_compat(struct sk_buff *in_skb,
1290
1291
req.sdiag_family = rc->idiag_family;
1292
req.sdiag_protocol = inet_diag_type2proto(nlh->nlmsg_type);
1293
1294
1295
1296
1297
0 commit comments