aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorgushengxian <gushengxian@yulong.com>2021-06-08 19:27:46 -0700
committerSteffen Klassert <steffen.klassert@secunet.com>2021-06-11 07:38:02 +0200
commit7a7ae1eba24a04fdaf84ef6a11760b5b8db3f723 (patch)
tree8eca430e2f938e7b4f0c3c90caf3e27538b69651 /net/xfrm/xfrm_policy.c
parentxfrm: remove description from xfrm_type struct (diff)
downloadlinux-dev-7a7ae1eba24a04fdaf84ef6a11760b5b8db3f723.tar.xz
linux-dev-7a7ae1eba24a04fdaf84ef6a11760b5b8db3f723.zip
xfrm: policy: fix a spelling mistake
Fix a spelling mistake. Signed-off-by: gushengxian <gushengxian@yulong.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r--net/xfrm/xfrm_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index ce500f847b99..1e24b21457f7 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -3247,7 +3247,7 @@ xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x,
/*
* 0 or more than 0 is returned when validation is succeeded (either bypass
- * because of optional transport mode, or next index of the mathced secpath
+ * because of optional transport mode, or next index of the matched secpath
* state with the template.
* -1 is returned when no matching template is found.
* Otherwise "-2 - errored_index" is returned.