|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.80, 1999/01/19 23:39:57 | version 1.81, 1999/03/26 08:51:36 | ||
|---|---|---|---|
|
|
||
| len = ip->ip_len; | len = ip->ip_len; | ||
| /* | /* | ||
| * Check for additional length bogosity | |||
| */ | |||
| if (len < hlen) | |||
| { | |||
| ipstat.ips_badlen++; | |||
| goto bad; | |||
| } | |||
| /* | |||
| * Check that the amount of data in the buffers | * Check that the amount of data in the buffers | ||
| * is as at least much as the IP header would have us expect. | * is as at least much as the IP header would have us expect. | ||
| * Trim mbufs if longer than we expect. | * Trim mbufs if longer than we expect. |