diff options
Diffstat (limited to 'net/ipv4/devinet.c')
-rw-r--r-- | net/ipv4/devinet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 0487677729cf..8e8d1f17d77a 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c | |||
@@ -85,7 +85,7 @@ static struct nla_policy ifa_ipv4_policy[IFA_MAX+1] __read_mostly = { | |||
85 | [IFA_ADDRESS] = { .type = NLA_U32 }, | 85 | [IFA_ADDRESS] = { .type = NLA_U32 }, |
86 | [IFA_BROADCAST] = { .type = NLA_U32 }, | 86 | [IFA_BROADCAST] = { .type = NLA_U32 }, |
87 | [IFA_ANYCAST] = { .type = NLA_U32 }, | 87 | [IFA_ANYCAST] = { .type = NLA_U32 }, |
88 | [IFA_LABEL] = { .type = NLA_STRING }, | 88 | [IFA_LABEL] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, |
89 | }; | 89 | }; |
90 | 90 | ||
91 | static void rtmsg_ifa(int event, struct in_ifaddr *, struct nlmsghdr *, u32); | 91 | static void rtmsg_ifa(int event, struct in_ifaddr *, struct nlmsghdr *, u32); |