Displaying 1 result from an estimated 1 matches for "ipv4_beet_phmaxlen".
2008 Sep 12
4
Custom build kernel patch fails big time.
....header_len = sizeof(struct iphdr);
+ switch (x->props.mode) {
+ case XFRM_MODE_TRANSPORT:
+ return -EINVAL;
+ default:
+ case XFRM_MODE_TUNNEL:
+ x->props.header_len = sizeof(struct iphdr);
+ break;
+ case XFRM_MODE_BEET:
+ x->props.header_len += IPV4_BEET_PHMAXLEN;
+ break;
+ }
return 0;
}
diff -urN a/net/ipv4/route.c b/net/ipv4/route.c
--- a/net/ipv4/route.c 2007-05-25 12:21:11.000000000 +0300
+++ b/net/ipv4/route.c 2007-05-25 12:21:11.000000000 +0300
@@ -108,6 +108,7 @@
#ifdef CONFIG_SYSCTL
#include <linux/sysctl.h>
#endif
+#inc...