Commit e386c6eb authored by Thomas Graf's avatar Thomas Graf Committed by David S. Miller
Browse files

[NEIGH]: Fix use of uninitialized variable when trimming in neightbl_fill_parms

Signed-off-by: default avatarThomas Graf <>
Signed-off-by: default avatarDavid S. Miller <>
parent 4b6ea82d
......@@ -1555,7 +1555,9 @@ out:
static int neightbl_fill_parms(struct sk_buff *skb, struct neigh_parms *parms)
struct rtattr *nest = RTA_NEST(skb, NDTA_PARMS);
struct rtattr *nest = NULL;
nest = RTA_NEST(skb, NDTA_PARMS);
if (parms->dev)
RTA_PUT_U32(skb, NDTPA_IFINDEX, parms->dev->ifindex);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment