From: McCabe, Robert J > Sent: 04 July 2017 01:14 > + if (nla_put(skb, TCA_STAB_DATA, sizeof(stab->szopts)*sizeof(u16), > &stab->data)) > + goto nla_put_failure;
Multiplying sizeof(a) by sizeof(b) really doesn't look right at all. David
From: McCabe, Robert J > Sent: 04 July 2017 01:14 > + if (nla_put(skb, TCA_STAB_DATA, sizeof(stab->szopts)*sizeof(u16), > &stab->data)) > + goto nla_put_failure;
Multiplying sizeof(a) by sizeof(b) really doesn't look right at all. David