diff options
| author | itojun <itojun@NetBSD.org> | 2002-08-14 00:23:27 +0000 |
|---|---|---|
| committer | itojun <itojun@NetBSD.org> | 2002-08-14 00:23:27 +0000 |
| commit | c00fa8dfd94473cd4d82faf337bc894fd05b1788 (patch) | |
| tree | aed1c45a959ac358e9e677f0a0eb639a23390106 /sys/netinet6/ipcomp_input.c | |
| parent | f5435ff1382d4883cd1fc56ae5cdd40fff8de1fd (diff) | |
avoid swapping endian of ip_len and ip_off on mbuf, to meet with M_LEADINGSPACE
optimization made last year. should solve PR 17867 and 10195.
IP_HDRINCL behavior of raw ip socket is kept unchanged. we may want to
provide IP_HDRINCL variant that does not swap endian.
Diffstat (limited to 'sys/netinet6/ipcomp_input.c')
| -rw-r--r-- | sys/netinet6/ipcomp_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/ipcomp_input.c b/sys/netinet6/ipcomp_input.c index 1d85161c868..8d814dd09a6 100644 --- a/sys/netinet6/ipcomp_input.c +++ b/sys/netinet6/ipcomp_input.c @@ -1,4 +1,4 @@ -/* $NetBSD: ipcomp_input.c,v 1.18 2001/11/13 00:57:03 lukem Exp $ */ +/* $NetBSD: ipcomp_input.c,v 1.19 2002/08/14 00:23:38 itojun Exp $ */ /* $KAME: ipcomp_input.c,v 1.29 2001/09/04 08:43:19 itojun Exp $ */ /* @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ipcomp_input.c,v 1.18 2001/11/13 00:57:03 lukem Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ipcomp_input.c,v 1.19 2002/08/14 00:23:38 itojun Exp $"); #include "opt_inet.h" @@ -78,7 +78,7 @@ __KERNEL_RCSID(0, "$NetBSD: ipcomp_input.c,v 1.18 2001/11/13 00:57:03 lukem Exp #include <net/net_osdep.h> -#define IPLEN_FLIPPED +/*#define IPLEN_FLIPPED*/ #ifdef INET void |
