diff options
author | Michael Smith <msmith@cbnco.com> | 2011-04-07 04:51:50 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-10 18:50:59 -0700 |
commit | 5c04c819a20af40adb7d282199f4e34e14fa05c5 (patch) | |
tree | c92925ffcf83d593f8cd52faed144cc43289d7f9 /include/net/ip_fib.h | |
parent | 5325e92f33eef5fb54e2e63185d965b4be59a4b3 (diff) | |
download | linux-5c04c819a20af40adb7d282199f4e34e14fa05c5.tar.bz2 |
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.h | 6 |
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); /* Exported by fib_frontend.c */ extern const struct nla_policy rtm_ipv4_policy[]; extern void ip_fib_init(void); -extern int fib_validate_source(__be32 src, __be32 dst, u8 tos, int oif, - struct net_device *dev, __be32 *spec_dst, - u32 *itag, u32 mark); +extern int fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst, + u8 tos, int oif, struct net_device *dev, + __be32 *spec_dst, u32 *itag); extern void fib_select_default(struct fib_result *res); /* Exported by fib_semantics.c */ |