diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2016-08-09 18:27:08 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2016-08-10 11:18:49 +0200 |
commit | e45a8a9e60ff1dd5ad118c794337a1101b46ab0d (patch) | |
tree | 318b7e57fac05bf21425d4c23cb6041c4ce55cc4 /include/net/xfrm.h | |
parent | 0184165b2f42c4b032da9dd11546bfbaeb5afd4e (diff) | |
download | linux-e45a8a9e60ff1dd5ad118c794337a1101b46ab0d.tar.bz2 |
xfrm: constify xfrm_replay structures
The xfrm_replay structures are never modified, so declare them as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r-- | include/net/xfrm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index adfebd6f243c..d2fdd6d70959 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -187,7 +187,7 @@ struct xfrm_state { struct xfrm_replay_state_esn *preplay_esn; /* The functions for replay detection. */ - struct xfrm_replay *repl; + const struct xfrm_replay *repl; /* internal flag that only holds state for delayed aevent at the * moment |