Kernel Assertation

Kendy Kutzner kutzner at fokus.gmd.de
Tue Oct 8 18:05:58 EDT 2002


Hello,

just an update:

On 2002-09-13T17:05:08+0000, Kendy Kutzner wrote:
> Sep 13 15:49:53 node1 kernel: KERNEL: assertion
> (atomic_read(&sk->wmem_alloc) == 0) failed at af_inet.c(174)

this problem persists and I don't know the reason. But until know I
haven't seen any side effects like kernel crashes. So do I have to
care?

> But TCP packets never hit the TCP stack.

This was solved by replacing
-> ToHost
with
-> SetPacketType(HOST) -> ToHost

The problem were the lines 1607/1608 in linux/net/ipv4/tcp_ipv4.c:
»·······if (skb->pkt_type!=PACKET_HOST)
»·······»·······goto discard_it;

Kendy




More information about the click mailing list