diff options
Diffstat (limited to 'net/xfrm/xfrm_user.c')
-rw-r--r-- | net/xfrm/xfrm_user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index f70e158874d2..0d580ac19771 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c | |||
@@ -174,8 +174,8 @@ static int verify_newsa_info(struct xfrm_usersa_info *p, | |||
174 | 174 | ||
175 | err = -EINVAL; | 175 | err = -EINVAL; |
176 | switch (p->mode) { | 176 | switch (p->mode) { |
177 | case 0: | 177 | case XFRM_MODE_TRANSPORT: |
178 | case 1: | 178 | case XFRM_MODE_TUNNEL: |
179 | break; | 179 | break; |
180 | 180 | ||
181 | default: | 181 | default: |