From: Florian Fainelli <f.fainelli@gmail.com>
To: Allen <allen.pais@oracle.com>,
netdev@vger.kernel.org, Andrew Lunn <andrew@lunn.ch>,
Vivien Didelot <vivien.didelot@gmail.com>
Subject: Re: Net: [DSA]: dsa-loop kernel panic
Date: Sun, 3 May 2020 20:40:33 -0700 [thread overview]
Message-ID: <82bc0bdf-e4f6-2b85-d2ad-54632b287a60@gmail.com> (raw)
In-Reply-To: <a15245fb-a9a4-4bcd-8459-fe3cbcc03119@gmail.com>
On 5/3/2020 2:06 PM, Florian Fainelli wrote:
> Le 2020-05-01 à 10:58, Allen a écrit :
>>>>
>>>> It maps to "eth0". Please let me know if you need further details.
>>>
>>> I suppose I should have been clearer, what network device driver created
>>> eth0?
>>>
>>
>> This was seen on a VM.
>> eth0 [52:54:00:c1:cd:65]: virtio_net (up)
>
> I have reproduced it here with virtio_net and am now looking into this,
> at first glance it does not look like we are properly holding the device
> reference count for the case where DSA was probed via platform device
> configuration.
There is a DSA master reference counting issue, but with dsa-loop, the
DSA master is already properly reference counted thanks to the
dev_get_by_name() call, I will keep digging.
--
Florian
next prev parent reply other threads:[~2020-05-04 3:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-30 6:24 Net: [DSA]: dsa-loop kernel panic Allen
2020-04-30 14:06 ` Andrew Lunn
2020-05-01 6:47 ` Allen
2020-04-30 17:12 ` Florian Fainelli
2020-05-01 6:48 ` Allen
2020-05-01 17:35 ` Florian Fainelli
2020-05-01 17:58 ` Allen
2020-05-01 18:05 ` Florian Fainelli
2020-05-03 21:06 ` Florian Fainelli
2020-05-04 3:40 ` Florian Fainelli [this message]
2020-05-04 4:55 ` Allen
2020-05-01 13:10 ` Andrew Lunn
2020-05-04 12:40 ` Allen
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=82bc0bdf-e4f6-2b85-d2ad-54632b287a60@gmail.com \
--to=f.fainelli@gmail.com \
--cc=allen.pais@oracle.com \
--cc=andrew@lunn.ch \
--cc=netdev@vger.kernel.org \
--cc=vivien.didelot@gmail.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).