[NETLINK]: Make use of NLA_STRING/NLA_NUL_STRING attribute validation
[deliverable/linux.git] / net / ipv4 / fib_frontend.c
index d0abeab16e6635b9e5f80c47d5a994460ad46cb2..cfb527c060e48e4235063591a349ae91e7bb263a 100644 (file)
@@ -462,7 +462,7 @@ struct nla_policy rtm_ipv4_policy[RTA_MAX+1] __read_mostly = {
        [RTA_PRIORITY]          = { .type = NLA_U32 },
        [RTA_PREFSRC]           = { .type = NLA_U32 },
        [RTA_METRICS]           = { .type = NLA_NESTED },
-       [RTA_MULTIPATH]         = { .minlen = sizeof(struct rtnexthop) },
+       [RTA_MULTIPATH]         = { .len = sizeof(struct rtnexthop) },
        [RTA_PROTOINFO]         = { .type = NLA_U32 },
        [RTA_FLOW]              = { .type = NLA_U32 },
        [RTA_MP_ALGO]           = { .type = NLA_U32 },
This page took 0.024636 seconds and 5 git commands to generate.