Subject: Re: getting rid of NTOHS() in ip_input()
To: None <itojun@iijlab.net>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-net
Date: 08/13/2002 15:54:42
itojun@iijlab.net writes:

> 	for this particular case (sys/net/if_gre.c) this portion is adjusting
> 	length field of encapsulating IP header, which was allocated by
> 	MGETHDR.  therefore it is totally safe.

All other case are also know to be safe?

0x1fff should be IP_OFFMASK btw.

enami.