aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip_fib.h
diff options
context:
space:
mode:
authorMichael Smith <msmith@cbnco.com>2011-04-07 00:51:50 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-10 21:50:59 -0400
commit5c04c819a20af40adb7d282199f4e34e14fa05c5 (patch)
treec92925ffcf83d593f8cd52faed144cc43289d7f9 /include/net/ip_fib.h
parent5325e92f33eef5fb54e2e63185d965b4be59a4b3 (diff)
fib_validate_source(): pass sk_buff instead of mark
This makes sk_buff available for other use in fib_validate_source(). Signed-off-by: Michael Smith <msmith@cbnco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_fib.h')
-rw-r--r--include/net/ip_fib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index e5d66ec88cf6..514627f56339 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -227,9 +227,9 @@ extern struct fib_table *fib_get_table(struct net *net, u32 id);
227/* Exported by fib_frontend.c */ 227/* Exported by fib_frontend.c */
228extern const struct nla_policy rtm_ipv4_policy[]; 228extern const struct nla_policy rtm_ipv4_policy[];
229extern void ip_fib_init(void); 229extern void ip_fib_init(void);
230extern int fib_validate_source(__be32 src, __be32 dst, u8 tos, int oif, 230extern int fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst,
231 struct net_device *dev, __be32 *spec_dst, 231 u8 tos, int oif, struct net_device *dev,
232 u32 *itag, u32 mark); 232 __be32 *spec_dst, u32 *itag);
233extern void fib_select_default(struct fib_result *res); 233extern void fib_select_default(struct fib_result *res);
234 234
235/* Exported by fib_semantics.c */ 235/* Exported by fib_semantics.c */