Commit a38b483a authored by David S. Miller's avatar David S. Miller

Merge nuts.ninka.net:/home/davem/src/BK/network-2.5

into nuts.ninka.net:/home/davem/src/BK/net-2.5
parents e847679b a907233d
...@@ -174,6 +174,8 @@ static void ipip_err(struct sk_buff *skb, u32 info) ...@@ -174,6 +174,8 @@ static void ipip_err(struct sk_buff *skb, u32 info)
static int ipip_init_state(struct xfrm_state *x, void *args) static int ipip_init_state(struct xfrm_state *x, void *args)
{ {
if (!x->props.mode)
return -EINVAL;
x->props.header_len = sizeof(struct iphdr); x->props.header_len = sizeof(struct iphdr);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment