diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-22 20:59:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-22 20:59:59 -0500 |
commit | 8f029de281b26ec9fd5cd77294db1d35d9876f1a (patch) | |
tree | 221eca1314cf4a9920b06143b4d08d370ea63b19 /include/net | |
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')
-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 { | |||
334 | void (*destructor)(struct xfrm_state *); | 334 | void (*destructor)(struct xfrm_state *); |
335 | int (*input)(struct xfrm_state *, struct sk_buff *skb); | 335 | int (*input)(struct xfrm_state *, struct sk_buff *skb); |
336 | int (*output)(struct xfrm_state *, struct sk_buff *pskb); | 336 | int (*output)(struct xfrm_state *, struct sk_buff *pskb); |
337 | int (*reject)(struct xfrm_state *, struct sk_buff *, struct flowi *); | 337 | int (*reject)(struct xfrm_state *, struct sk_buff *, |
338 | const struct flowi *); | ||
338 | int (*hdr_offset)(struct xfrm_state *, struct sk_buff *, u8 **); | 339 | int (*hdr_offset)(struct xfrm_state *, struct sk_buff *, u8 **); |
339 | /* Estimate maximal size of result of transformation of a dgram */ | 340 | /* Estimate maximal size of result of transformation of a dgram */ |
340 | u32 (*get_mtu)(struct xfrm_state *, int size); | 341 | u32 (*get_mtu)(struct xfrm_state *, int size); |