]> err.no Git - linux-2.6/blobdiff - net/ipv4/fib_semantics.c
[POWERPC] 83xx: Add default config file for Wind River SBC8349 board
[linux-2.6] / net / ipv4 / fib_semantics.c
index d30fb68d5f4e88007256638750b10b46ae73f316..1351a2617dcef072ee0adebdd59ea1007b9a4bbd 100644 (file)
@@ -743,7 +743,7 @@ struct fib_info *fib_create_info(struct fib_config *cfg)
                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)