Bring in FreeBSD/1.218.
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 26 Aug 2004 21:21:46 +0000 (21:21 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 26 Aug 2004 21:21:46 +0000 (21:21 +0000)
commitaeedcc815e5a9f2cda3bc8f807d2f0b6edde0ba7
tree4859a16b60bf09bfbacbfdff14a1126aa5384eac
parente90fc8a2b8af800383a692f48046e31a2a99d103
Bring in FreeBSD/1.218.
>date: 2004/05/11 19:14:44;  author: maxim;  state: Exp;  lines: +1 -1
>o Calculate a number of bytes to copy (cnt) correctly:
>
>  +----+-+-+-+-+----+----+- - - - - - - - - - - -  -+----+
>  |    | |C| | |    |    |                          |    |
>  | IP |N|O|L|P|    | IP |                          | IP |
>  | #1 |O|D|E|T|    | #2 |                          | #n |
>  |    |P|E|N|R|    |    |                          |    |
>  +----+-+-+-+-+----+----+- - - - - - - - - - - -  -+----+
>               ^    ^<---- cnt - (IPOPT_MINOFF - 1) ---->|
>               |    |
>src            |    +-- cp[IPOPT_OFF + 1] + sizeof(struct in_addr)
>               |
>dst            +-- cp[IPOPT_OFF + 1]
>
>PR:             kern/66386
>Submitted by:   Andrei Iltchenko
sys/netinet/ip_output.c