git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
9p: return NULL when trans not found
[safe/jmp/linux-2.6]
/
net
/
ipv6
/
xfrm6_output.c
diff --git
a/net/ipv6/xfrm6_output.c
b/net/ipv6/xfrm6_output.c
index
a5a32c1
..
6569767
100644
(file)
--- a/
net/ipv6/xfrm6_output.c
+++ b/
net/ipv6/xfrm6_output.c
@@
-50,7
+50,7
@@
static inline int xfrm6_output_one(struct sk_buff *skb)
struct ipv6hdr *iph;
int err;
- if (x->
props.mode == XFRM_MODE
_TUNNEL) {
+ if (x->
outer_mode->flags & XFRM_MODE_FLAG
_TUNNEL) {
err = xfrm6_tunnel_check_size(skb);
if (err)
goto error_nolock;