Re: in_cksum: out of data
Martin Husemann <[email protected]> Thu, 19 May 2022 10:38:48 +0200
| Newsgroups | gmane.os.netbsd.ports.x86-64 |
|---|---|
| Message-ID | <[email protected]> |
On Thu, May 19, 2022 at 06:28:44AM +0000, Emmanuel Dreyfus wrote: > Hello > > >From time to time I get on the console > in_cksum: out of data The function is: int cpu_in_cksum(struct mbuf *m, int len, int off, uint32_t initial_sum) [called with 0 as the two last args from MI code] and m is supposed to point to a mbuf chain that contains at least len bytes of data. When the checksum calculation reaches the end of the mbuf chain but did not process len bytes yet, it prints that message. Probably it means either: - a broken call site passing wrong "len" - a broken call site passing the wrong mbuf * - the mbuf chain has been modfied midway Martin