Received: by 10.223.164.202 with SMTP id h10csp760956wrb; Mon, 6 Nov 2017 15:14:34 -0800 (PST) X-Google-Smtp-Source: ABhQp+Q+AvtQRNd57qSUZSrsdyb4lgybhVpA56A4CR0ZuDPqK75MOt/fHSO3XYOJxZwNsQ+4tMsG X-Received: by 10.159.204.146 with SMTP id t18mr16042656plo.70.1510010074275; Mon, 06 Nov 2017 15:14:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510010074; cv=none; d=google.com; s=arc-20160816; b=Z4RKEA/fQpSHsoNiFzG5sPRa6QX4m1/jhgwP26vm/o6Xm/H3p07n5S/LmpLJP/QtqU DR5qFGZmn1nN2kmrf5LP2Dw/DTCXlfRi6NzynyIrt05zr8GQ2eBntGlCJzbYUL1lQJhk uQ8ULu7D1B2ewFPyDrEgJTbfza+gws+0NkrgZRf4pGnADV2WN7FrYBmbscfDznmW/ic8 PnwmSGMsZd20jjQcC7YWJImhaFwZhu9KTI8WBNkcYa9NmEWPzRibl94M3+YXuii6lj41 uWLTilkodw9CalxoekUsam+RszoT3CpFOKYQ0JHMZgQJIVx7buxHR0o4tYZE/ogTDEc+ niVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=sYCv475u47FDG8UY5L1lxCWiHo/AOdojPKf/tE9zqxs=; b=W7rrMRGvS2E1NKITyNH2TRoe7JIKGLAjAhk5fJ4POCvt1D8UWQzBFOM2aIPQNyC7bR VvdNTRD4L/9o0i/5sroI/8J1uJA8/ZCtCIKvni+7SBknYdwApjonLmYFoEvGEkMigA+m AYFqa2UJW8N4aNw2n2p2smZGBkqB1MROuPi7zlErOVlE+sj+JJYMFe0HhEDkdClNUsNb PbRs0ewSo0V+41qHgxTfeO6PiyZIQkjcR0aQ7qPZ7Qtb1qsaV3WZ+1li/CvkzHvhJ5bh MDXBQTAIAAWAgf7L8d47cm7GvEuI3kVP0svAfzP1FKeE+PKv4IB93kMDLggQR5Md8/SG qBWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=AXdzijqa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11si11664700pgp.97.2017.11.06.15.14.20; Mon, 06 Nov 2017 15:14:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=AXdzijqa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753912AbdKFWE6 (ORCPT + 94 others); Mon, 6 Nov 2017 17:04:58 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:52443 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751448AbdKFWE5 (ORCPT ); Mon, 6 Nov 2017 17:04:57 -0500 Received: by mail-wr0-f195.google.com with SMTP id j23so5881867wra.9 for ; Mon, 06 Nov 2017 14:04:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sYCv475u47FDG8UY5L1lxCWiHo/AOdojPKf/tE9zqxs=; b=AXdzijqaocf+NoPE5yvHsT6HhkrofOBdSEkjZKeb9LwnVc6tV32e19rf/ayCo243gX iRrxU0JDaEfoDkPlWE5eecROhHX77qfm/LvP2jR3OqwDzC9IT88+NNj+B3ZBKu3cGu7r AodxmVI6aqEM2a9RjIRcaszmet6zWyeLwP9CRbKFUPkEnmQSkxLaY1m1a6NamkiHMwfV O553iD3yoyGbSFBtxEDM9NzEcFYFuDGMs/6CZ0aMY0fH6kzkf78urNrBujDb6oRqKxgi nSnzlSz/6dJOEVOHDP68OHuKZX7xNpVaZoDG42fh1zQbHmgMyR6sqMgN1BUsSM0JXEEK 9vHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sYCv475u47FDG8UY5L1lxCWiHo/AOdojPKf/tE9zqxs=; b=VYTEvfbIlvslBGNLkUqyI7pLTZAVVRaiAQm6mE4EaomrGp3OmbQA4ZgZwoiZDQ/ULA 9zFjiXr3i3k92C73KTQWXdlu/ETb3UvcpMGLyiJqTQVaNVxkI5NI8W26InTzLQ6Z3c4M DFjA5tIJMJtAm1ZXSfUAeNcSPL8164Iz3QfWjlXLeURPDbHIZhUNU0wdo5PpPlJ3mkjx TKX/rLktyAmVP2fyJ+hmL1suRWbjDLYnFoINIJ4SENuINQI+3xcB6Q9HoeavgagI1mA5 w4HX7fN3MiGTT8XLEqFoghpE0ROY1g181WczxMNdspdf4obefrnLtva2rJP3ZMJLd9/3 G3jg== X-Gm-Message-State: AMCzsaXjP4N03Hi878eTbCOma8UpBObOwnYYvWZlaG+Cwlr9Dt3SX6Qd b8I4EhKzzAYDnSEDsYvp4N9uQAK9bNxThAodVdEolg== X-Received: by 10.223.157.40 with SMTP id k40mr12715562wre.153.1510005895502; Mon, 06 Nov 2017 14:04:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.158.87 with HTTP; Mon, 6 Nov 2017 14:04:54 -0800 (PST) In-Reply-To: <20171106220119.GA11465@splinter> References: <15801.1510001814@turing-police.cc.vt.edu> <20171106220119.GA11465@splinter> From: Eric Dumazet Date: Mon, 6 Nov 2017 14:04:54 -0800 Message-ID: Subject: Re: IPv6 issue in next-20171102 - lockdep and BUG handling RA packet. To: Ido Schimmel Cc: Valdis Kletnieks , "David S. Miller" , David Ahern , LKML , netdev Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 6, 2017 at 2:01 PM, Ido Schimmel wrote: > On Mon, Nov 06, 2017 at 03:56:54PM -0500, valdis.kletnieks@vt.edu wrote: >> I've hit this 6 times now, across 3 boots: >> >> Nov 3 11:04:54 turing-police kernel: [ 547.814748] BUG: sleeping function called from invalid context at mm/slab.h:422 >> >> Nov 3 20:24:11 turing-police kernel: [ 60.093793] BUG: sleeping function called from invalid context at mm/slab.h:422 >> Nov 4 20:20:54 turing-police kernel: [86264.366955] BUG: sleeping function called from invalid context at mm/slab.h:422 >> Nov 5 19:17:40 turing-police kernel: [172469.769179] BUG: sleeping function called from invalid context at mm/slab.h:422 >> Nov 6 06:07:37 turing-police kernel: [211467.239460] BUG: sleeping function called from invalid context at mm/slab.h:422 >> >> Nov 6 14:12:43 turing-police kernel: [ 54.891848] BUG: sleeping function called from invalid context at mm/slab.h:422 >> >> Something seems to be going astray while handling a RA packet. >> >> Kernel dirty due to hand-patching https://patchwork.kernel.org/patch/10003555/ >> (signed int:1 bitfield in sched.h causing tons of warnings) >> >> Unfortunately, the previous next- kernel I built was -20170927 (which worked OK). >> >> Googling for things in the traceback in the last month comes up empty, and only >> thing in the git log for net/ipv6 that looks vaguely related: >> >> commit f3d9832e56c48e4ca50bab0457e21bcaade4536d >> Author: David Ahern >> Date: Wed Oct 18 09:56:52 2017 -0700 >> >> ipv6: addrconf: cleanup locking in ipv6_add_addr > > Probably right... > > [...] > >> [ 54.891848] BUG: sleeping function called from invalid context at mm/slab.h:422 >> [ 54.891855] in_atomic(): 1, irqs_disabled(): 0, pid: 0, name: swapper/0 >> [ 54.891859] INFO: lockdep is turned off. >> [ 54.891867] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W OE 4.14.0-rc7-next-20171102-dirty #537 >> [ 54.891872] Hardware name: Dell Inc. Latitude E6530/07Y85M, BIOS A20 05/08/2017 >> [ 54.891877] Call Trace: >> [ 54.891882] >> [ 54.891894] dump_stack+0x7b/0xe4 >> [ 54.891907] ___might_sleep+0x1b0/0x300 >> [ 54.891921] kmem_cache_alloc_trace+0x2c7/0x500 >> [ 54.891931] ? cyc2ns_read_end+0x1e/0x30 >> [ 54.891944] ipv6_add_addr+0x15a/0xc30 >> [ 54.891977] ? ipv6_create_tempaddr+0x2ea/0x5d0 >> [ 54.891986] ipv6_create_tempaddr+0x2ea/0x5d0 > > This function is called from softirq so we should call ipv6_add_addr() > with 'can_block' set to 'false'. > > DavidA, it's already late here so you can probably fix this before I > take a closer look tomorrow morning. :) I have a patch, will send in a couple of minutes. Thanks. From 1583358476770134845@xxx Mon Nov 06 22:45:12 +0000 2017 X-GM-THRID: 1583358272438904088 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread