[NETNS][DST] dst: pass the dst_ops as parameter to the gc functions
[linux-2.6-block.git] / include / net / dst.h
index e03ea0c04e013b6c6a43b8a502bf5157d3ebff6f..e24a41644c0087aa7757ebae8f94453ce6962907 100644 (file)
@@ -89,7 +89,7 @@ struct dst_ops
        __be16                  protocol;
        unsigned                gc_thresh;
 
-       int                     (*gc)(void);
+       int                     (*gc)(struct dst_ops *ops);
        struct dst_entry *      (*check)(struct dst_entry *, __u32 cookie);
        void                    (*destroy)(struct dst_entry *);
        void                    (*ifdown)(struct dst_entry *,