Re: Bug, kernel panic, NULL dereference , cleanup_once / icmp_route_lookup.clone.19.clone / nat , 2.6.39-rc7-git11

Eric Dumazet
2011-05-18T15:52:28Z

Le mercredi 18 mai 2011 à 15:46 +0300, Denys Fedoryshchenko a écrit :

> It is NAS, has ipv6 enabled recently (i am preparing for ipv6), but
> ipv6 is not routed anywhere, maybe just automatically addresses
> appearing on interfaces, including the one looking to customer subnet.
> ppp is ipv4 only.
>

Hmm, it seems we have some inetpeer refcount leak somewhere.

Maybe one (struct rtable)->peer is not released on dst/rtable removal,
or we also leak dst/rtable (and their ->peer inetpeer)

Watch :

grep peer /proc/slabinfo
grep dst /proc/slabinfo