Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b676338f authored by Nicolas Dichtel's avatar Nicolas Dichtel Committed by David S. Miller
Browse files

neigh: align nlattr properly when needed

parent 270cb4d0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1857,7 +1857,8 @@ static int neightbl_fill_info(struct sk_buff *skb, struct neigh_table *tbl,
			ndst.ndts_table_fulls		+= st->table_fulls;
		}

		if (nla_put(skb, NDTA_STATS, sizeof(ndst), &ndst))
		if (nla_put_64bit(skb, NDTA_STATS, sizeof(ndst), &ndst,
				  NDTA_PAD))
			goto nla_put_failure;
	}