From: David Miller <davem@davemloft.net>
To: edumazet@google.com
Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com,
lucien.xin@gmail.com, jon.maloy@ericsson.com,
syzkaller@googlegroups.com
Subject: Re: [PATCH net] tipc: block BH before using dst_cache
Date: Fri, 22 May 2020 15:39:58 -0700 (PDT) [thread overview]
Message-ID: <20200522.153958.1756967784732800385.davem@davemloft.net> (raw)
In-Reply-To: <20200521182958.163436-1-edumazet@google.com>
From: Eric Dumazet <edumazet@google.com>
Date: Thu, 21 May 2020 11:29:58 -0700
> dst_cache_get() documents it must be used with BH disabled.
>
> sysbot reported :
>
> BUG: using smp_processor_id() in preemptible [00000000] code: /21697
> caller is dst_cache_get+0x3a/0xb0 net/core/dst_cache.c:68
...
> Fixes: e9c1a793210f ("tipc: add dst_cache support for udp media")
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Reported-by: syzbot <syzkaller@googlegroups.com>
Applied and queued up for -stable, thanks.
prev parent reply other threads:[~2020-05-22 22:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-21 18:29 [PATCH net] tipc: block BH before using dst_cache Eric Dumazet
2020-05-22 5:56 ` Xin Long
[not found] ` <CANn89i+x=xbXoKekC6bF_ZMBRMY_mkmuVbNSW3LcRncsiZGd_g@mail.gmail.com>
2020-05-22 5:55 ` Eric Dumazet
2020-05-22 6:18 ` Xin Long
2020-05-22 15:01 ` Jon Maloy
2020-05-22 15:57 ` Eric Dumazet
2020-05-22 19:47 ` Jon Maloy
2020-05-22 20:10 ` Eric Dumazet
2020-05-22 21:37 ` Jon Maloy
2020-05-22 21:44 ` Eric Dumazet
2020-05-23 0:28 ` Tetsuo Handa
2020-05-22 15:52 ` Eric Dumazet
2020-05-22 22:39 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200522.153958.1756967784732800385.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eric.dumazet@gmail.com \
--cc=jon.maloy@ericsson.com \
--cc=lucien.xin@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=syzkaller@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).