]> Pileus Git - ~andy/linux/blobdiff - include/net/fib_rules.h
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfashe...
[~andy/linux] / include / net / fib_rules.h
index 08bab8b6e57548a2bb305735280d24ba0d5b5938..83e41dd15ccde6e88b304687dac539462815d7dd 100644 (file)
@@ -59,8 +59,12 @@ struct fib_rules_ops
        u32                     (*default_pref)(void);
        size_t                  (*nlmsg_payload)(struct fib_rule *);
 
+       /* Called after modifications to the rules set, must flush
+        * the route cache if one exists. */
+       void                    (*flush_cache)(void);
+
        int                     nlgroup;
-       struct nla_policy       *policy;
+       const struct nla_policy *policy;
        struct list_head        *rules_list;
        struct module           *owner;
 };