aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/addrconf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 8140bed78a26..1b2902d8eb98 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -3031,9 +3031,12 @@ static int inet6_fill_prefix(struct sk_buff *skb, struct inet6_dev *idev,
3031 nlh = NLMSG_NEW(skb, pid, seq, event, sizeof(*pmsg), flags); 3031 nlh = NLMSG_NEW(skb, pid, seq, event, sizeof(*pmsg), flags);
3032 pmsg = NLMSG_DATA(nlh); 3032 pmsg = NLMSG_DATA(nlh);
3033 pmsg->prefix_family = AF_INET6; 3033 pmsg->prefix_family = AF_INET6;
3034 pmsg->prefix_pad1 = 0;
3035 pmsg->prefix_pad2 = 0;
3034 pmsg->prefix_ifindex = idev->dev->ifindex; 3036 pmsg->prefix_ifindex = idev->dev->ifindex;
3035 pmsg->prefix_len = pinfo->prefix_len; 3037 pmsg->prefix_len = pinfo->prefix_len;
3036 pmsg->prefix_type = pinfo->type; 3038 pmsg->prefix_type = pinfo->type;
3039 pmsg->prefix_pad3 = 0;
3037 3040
3038 pmsg->prefix_flags = 0; 3041 pmsg->prefix_flags = 0;
3039 if (pinfo->onlink) 3042 if (pinfo->onlink)