]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv6/route.c
[NETLINK]: Introduce nested and byteorder flag to netlink attribute
[net-next-2.6.git] / net / ipv6 / route.c
index 5bdd9d4010fea7de5fbd9190ea3aa6254719e87d..104070e92ceadc29d060cbec4802cab4bafc7355 100644 (file)
@@ -1279,7 +1279,7 @@ install_route:
                int remaining;
 
                nla_for_each_attr(nla, cfg->fc_mx, cfg->fc_mx_len, remaining) {
-                       int type = nla->nla_type;
+                       int type = nla_type(nla);
 
                        if (type) {
                                if (type > RTAX_MAX) {