From: David Miller <davem@davemloft.net>
To: pshelar@nicira.com
Cc: netdev@vger.kernel.org, tomasz.sawicki@objectiveintegration.uk
Subject: Re: [PATCH net] openvswitch: Fix ovs_vport_get_stats()
Date: Mon, 05 Oct 2015 07:07:46 -0700 (PDT) [thread overview]
Message-ID: <20151005.070746.2242001172847714284.davem@davemloft.net> (raw)
In-Reply-To: <1443822994-1928-1-git-send-email-pshelar@nicira.com>
From: Pravin B Shelar <pshelar@nicira.com>
Date: Fri, 2 Oct 2015 14:56:34 -0700
> Not every device has dev->tstats set. So when OVS tries to calculate
> vport stats it causes kernel panic. Following patch fixes it by
> using standard API to get net-device stats.
...
> Reported-by: Tomasz Sawicki <tomasz.sawicki@objectiveintegration.uk>
> Fixes: 8c876639c98 ("openvswitch: Remove vport stats.")
> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Applied.
next prev parent reply other threads:[~2015-10-05 13:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 21:56 [PATCH net] openvswitch: Fix ovs_vport_get_stats() Pravin B Shelar
2015-10-05 12:31 ` Thomas Graf
2015-10-05 14:07 ` David Miller [this message]
2015-10-15 14:54 ` [PATCH 2/2] openvswitch: Allocate memory for ovs internal device stats James Morse
2015-10-15 17:19 ` Pravin Shelar
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=20151005.070746.2242001172847714284.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=pshelar@nicira.com \
--cc=tomasz.sawicki@objectiveintegration.uk \
/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