diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-22 17:59:59 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-22 17:59:59 -0800 |
commit | 8f029de281b26ec9fd5cd77294db1d35d9876f1a (patch) | |
tree | 221eca1314cf4a9920b06143b4d08d370ea63b19 /include/net/xfrm.h | |
parent | 73e5ebb20f2809e2eb0b904448481e010c2599d7 (diff) |
xfrm: Mark flowi arg to xfrm_type->reject() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r-- | include/net/xfrm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 614c296c4532..cbe00035416d 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -334,7 +334,8 @@ struct xfrm_type { void (*destructor)(struct xfrm_state *); int (*input)(struct xfrm_state *, struct sk_buff *skb); int (*output)(struct xfrm_state *, struct sk_buff *pskb); - int (*reject)(struct xfrm_state *, struct sk_buff *, struct flowi *); + int (*reject)(struct xfrm_state *, struct sk_buff *, + const struct flowi *); int (*hdr_offset)(struct xfrm_state *, struct sk_buff *, u8 **); /* Estimate maximal size of result of transformation of a dgram */ u32 (*get_mtu)(struct xfrm_state *, int size); |