diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2010-02-22 06:32:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-22 19:21:12 -0500 |
commit | 8ca2e93b557f2a0b35f7769038abf600177e1122 (patch) | |
tree | 2b25012de07a48c33db0a191924d6e5fcc99c22a /net/xfrm/xfrm_policy.c | |
parent | 3d6acfa7641fd0a35f608b142f61e79f7ed8db43 (diff) |
xfrm: SP lookups signature with mark
pass mark to all SP lookups to prepare them for when we add code
to have them search.
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index d6eb16d75243..e67d3ca6e657 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c | |||
@@ -635,8 +635,8 @@ int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl) | |||
635 | } | 635 | } |
636 | EXPORT_SYMBOL(xfrm_policy_insert); | 636 | EXPORT_SYMBOL(xfrm_policy_insert); |
637 | 637 | ||
638 | struct xfrm_policy *xfrm_policy_bysel_ctx(struct net *net, u8 type, int dir, | 638 | struct xfrm_policy *xfrm_policy_bysel_ctx(struct net *net, u32 mark, u8 type, |
639 | struct xfrm_selector *sel, | 639 | int dir, struct xfrm_selector *sel, |
640 | struct xfrm_sec_ctx *ctx, int delete, | 640 | struct xfrm_sec_ctx *ctx, int delete, |
641 | int *err) | 641 | int *err) |
642 | { | 642 | { |
@@ -676,8 +676,8 @@ struct xfrm_policy *xfrm_policy_bysel_ctx(struct net *net, u8 type, int dir, | |||
676 | } | 676 | } |
677 | EXPORT_SYMBOL(xfrm_policy_bysel_ctx); | 677 | EXPORT_SYMBOL(xfrm_policy_bysel_ctx); |
678 | 678 | ||
679 | struct xfrm_policy *xfrm_policy_byid(struct net *net, u8 type, int dir, u32 id, | 679 | struct xfrm_policy *xfrm_policy_byid(struct net *net, u32 mark, u8 type, |
680 | int delete, int *err) | 680 | int dir, u32 id, int delete, int *err) |
681 | { | 681 | { |
682 | struct xfrm_policy *pol, *ret; | 682 | struct xfrm_policy *pol, *ret; |
683 | struct hlist_head *chain; | 683 | struct hlist_head *chain; |