]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/fib_semantics.c
fib: introduce fib_alias_accessed() helper
[net-next-2.6.git] / net / ipv4 / fib_semantics.c
index 6734c9cab24852330a838b3154314bafb3e03a6c..3e0da3ef6116df8b9b4fa6a70272ddeac8cac0d4 100644 (file)
@@ -901,7 +901,7 @@ int fib_semantic_match(struct list_head *head, const struct flowi *flp,
                if (fa->fa_scope < flp->fl4_scope)
                        continue;
 
-               fa->fa_state |= FA_S_ACCESSED;
+               fib_alias_accessed(fa);
 
                err = fib_props[fa->fa_type].error;
                if (err == 0) {