search for: xfrm_mode_tunnel

Displaying 1 result from an estimated 1 matches for "xfrm_mode_tunnel".

2008 Sep 12
4
Custom build kernel patch fails big time.
..._ecn.h> #include <net/ip.h> #include <net/xfrm.h> #include <net/icmp.h> + static int xfrm4_tunnel_check_size(struct sk_buff *skb) { int mtu, ret = 0; @@ -54,7 +56,7 @@ goto error_nolock; } - if (x->props.mode) { + if (x->props.mode == XFRM_MODE_TUNNEL) { err = xfrm4_tunnel_check_size(skb); if (err) goto error_nolock; @@ -66,7 +68,7 @@ if (err) goto error; - err = x->mode->output(skb); + err = x->mode->output(skb); if (err) goto error;...