projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[XFRM]: Add XFRM_MODE_xxx for future use.
[deliverable/linux.git]
/
net
/
ipv6
/
xfrm6_tunnel.c
diff --git
a/net/ipv6/xfrm6_tunnel.c
b/net/ipv6/xfrm6_tunnel.c
index c8f9369c2a876f0f3f9e503e8ede74292802ce79..59685ee8f700d9690180560180320064912ceda8 100644
(file)
--- a/
net/ipv6/xfrm6_tunnel.c
+++ b/
net/ipv6/xfrm6_tunnel.c
@@
-307,7
+307,7
@@
static int xfrm6_tunnel_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
static int xfrm6_tunnel_init_state(struct xfrm_state *x)
{
- if (
!x->props.mode
)
+ if (
x->props.mode != XFRM_MODE_TUNNEL
)
return -EINVAL;
if (x->encap)
This page took
0.025827 seconds
and
5
git commands to generate.