Re: [PATCH net] openvswitch: Fix ovs_vport_get_stats()

2015-10-05 Thread Thomas Graf
On 10/02/15 at 02:56pm, Pravin B Shelar wrote: > 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. > > ---8<--- > Unable to handle kernel paging request at virtual

Re: [PATCH net] openvswitch: Fix ovs_vport_get_stats()

2015-10-05 Thread David Miller
From: Pravin B Shelar 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

[PATCH net] openvswitch: Fix ovs_vport_get_stats()

2015-10-02 Thread Pravin B Shelar
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. ---8<--- Unable to handle kernel paging request at virtual address 766b4008 Internal error: Oops: 9605 [#1] PREEMPT