From: Julian Anastasov Subject: Re: Slab corruption Date: Mon, 11 Oct 2010 23:36:47 +0300 (EEST) Message-ID: References: <20100926133313.GA30560@verge.net.au> <201010070857.21822.hans.schillstrom@ericsson.com> <201010111058.28651.hans.schillstrom@ericsson.com> Mime-Version: 1.0 Return-path: In-Reply-To: <201010111058.28651.hans.schillstrom@ericsson.com> Sender: lvs-devel-owner@vger.kernel.org List-ID: Content-Type: TEXT/PLAIN; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit To: Hans Schillstrom Cc: Simon Horman , "lvs-devel@vger.kernel.org" Hello, On Mon, 11 Oct 2010, Hans Schillstrom wrote: >> There is one atomic_dec after free but I'm not sure >> if it matches the dump below. If in doubt just add >> svc = NULL in ip_vs_genl_set_cmd after the call to >> ip_vs_del_service. > > added svc = NULL, > but it did not make any difference :-( Do you see this message in debugs? Once or twice? And with usecnt > 0?: IP_VS_DBG_BUF(3, "Removing service %u/%s:%u usecnt=%d\n", Also, do you have traffic or any connections while removing the service? What is the result when there is no traffic? >>> ex. >>> # ipvsadm -D -f 21 -6 >>> Slab corruption: size-512 start=ffff880001760488, len=512 >>> Redzone: 0x9f911029d74e35b/0x9f911029d74e35b. >>> Last user: [](__ip_vs_del_service+0xfa/0x108 [ip_vs]) >>> 020: 6b 6b 6b 6b 6a 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b Is this offset 0x24? Can you determine which field of struct ip_vs_service is on offset 0x24? It can be usecnt if platform is 64-bit. Regards -- Julian Anastasov