Commit 1ef1b8c8 authored by Al Viro's avatar Al Viro Committed by David S. Miller

[IPV4]: fib_semantic_match() annotations

'mask' and 'zone' arguments are net-endian
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b6e80c6c
...@@ -20,7 +20,7 @@ struct fib_alias { ...@@ -20,7 +20,7 @@ struct fib_alias {
/* Exported by fib_semantics.c */ /* Exported by fib_semantics.c */
extern int fib_semantic_match(struct list_head *head, extern int fib_semantic_match(struct list_head *head,
const struct flowi *flp, const struct flowi *flp,
struct fib_result *res, __u32 zone, __u32 mask, struct fib_result *res, __be32 zone, __be32 mask,
int prefixlen); int prefixlen);
extern void fib_release_info(struct fib_info *); extern void fib_release_info(struct fib_info *);
extern struct fib_info *fib_create_info(struct fib_config *cfg); extern struct fib_info *fib_create_info(struct fib_config *cfg);
......
...@@ -847,7 +847,7 @@ struct fib_info *fib_create_info(struct fib_config *cfg) ...@@ -847,7 +847,7 @@ struct fib_info *fib_create_info(struct fib_config *cfg)
/* Note! fib_semantic_match intentionally uses RCU list functions. */ /* Note! fib_semantic_match intentionally uses RCU list functions. */
int fib_semantic_match(struct list_head *head, const struct flowi *flp, int fib_semantic_match(struct list_head *head, const struct flowi *flp,
struct fib_result *res, __u32 zone, __u32 mask, struct fib_result *res, __be32 zone, __be32 mask,
int prefixlen) int prefixlen)
{ {
struct fib_alias *fa; struct fib_alias *fa;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment