for (i = AQ_DIMOF(self->aq_vec); i--;) {
> - if (self->aq_vec[i])
> + if (self->aq_vec[i]) {
> aq_vec_free(self->aq_vec[i]);
> + self->aq_vec[i] = NULL;
> + }
> }
>
> err_exit:;
>
Resolves the ethtool crash.
Tested-by: David Arcari
On 05/04/2017 01:09 PM, Pavel Belous wrote:
>
>
> On 04.05.2017 19:51, David Miller wrote:
>> From: Lino Sanfilippo
>> Date: Thu, 4 May 2017 18:48:12 +0200
>>
>>> Hi Pavel,
>>>
>>> On 04.05.2017 18:33, Pavel Belous wrote:
From: Pavel Belous
This patch fixes the crash that happens
Hi Pavel,
On 05/04/2017 12:33 PM, Pavel Belous wrote:
> From: Pavel Belous
>
> This patch fixes the crash that happens when driver tries to collect
> statistics
> from already released "aq_vec" object.
>
> Fixes: 97bde5c4f909 ("net: ethernet: aquantia: Support for NIC-specific code")
> Signed-
dx_buff->is_tcp_cso =
> + (ipv6_hdr(skb)->nexthdr == NEXTHDR_TCP) ?
> + 1U : 0U;
> + dx_buff->is_udp_cso =
> + (ipv6_hdr(skb)->nexthdr == NEXTHDR_UDP) ?
> + 1U : 0U;
> + }
> }
>
> for (; nr_frags--; ++frag_count) {
>
Fixes tcp/ipv6
Tested-by: David Arcari
Hi,
On 03/22/2017 01:06 PM, Pavel Belous wrote:
> From: Pavel Belous
>
> Fix Context Command bit: L3 type = "0" for IPv4, "1" for IPv6.
>
> Signed-off-by: Pavel Belous
> ---
> drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 3 +++
> drivers/net/ethernet/aquantia/atlantic/aq_ring.h
ere the driver
has a ndo_change_mtu routine.
Fixes: 5513e16421cb ("net: ethernet: aquantia: Fixes for aq_ndev_change_mtu")
Cc: Pavel Belous
Signed-off-by: David Arcari
---
drivers/net/ethernet/aquantia/atlantic/aq_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers
On 03/13/2017 03:56 PM, David Miller wrote:
> From: David Arcari
> Date: Mon, 13 Mar 2017 11:50:50 -0400
>
>> On 03/13/2017 02:09 AM, David Miller wrote:
>>> From: David Arcari
>>> Date: Wed, 8 Mar 2017 16:33:21 -0500
>>>
>>>> When the aqua
On 03/10/2017 04:19 PM, Pavel Belous wrote:
>
>
> On 10.03.2017 17:47, David Arcari wrote:
>> Hi,
>>
>> On 03/09/2017 05:43 PM, Lino Sanfilippo wrote:
>>> Hi,
>>>
>>> On 09.03.2017 22:03, David Arcari wrote:
>>>> When
On 03/13/2017 02:09 AM, David Miller wrote:
> From: David Arcari
> Date: Wed, 8 Mar 2017 16:33:21 -0500
>
>> When the aquantia device mtu is changed the net_device structure is not
>> updated. As a result the ip command does not properly reflect the mtu
>> change
Hi,
On 03/09/2017 05:43 PM, Lino Sanfilippo wrote:
> Hi,
>
> On 09.03.2017 22:03, David Arcari wrote:
>> When the aquantia device mtu is changed the net_device structure is not
>> updated. As a result the ip command does not properly reflect the mtu
>> change
ere the driver
has a ndo_change_mtu routine.
Fixes: 5513e16421cb ("net: ethernet: aquantia: Fixes for aq_ndev_change_mtu")
v2: no longer close/open net-device after mtu change
Cc: Pavel Belous
Signed-off-by: David Arcari
---
drivers/net/ethernet/aquantia/atlantic/aq_main.c | 10 ++---
On 03/09/2017 03:01 PM, David Arcari wrote:
> On 03/09/2017 02:02 PM, Pavel Belous wrote:
>>
>>
>> On 09.03.2017 00:33, David Arcari wrote:
>>> When the aquantia device mtu is changed the net_device structure is not
>>> updated. As a result the ip co
On 03/09/2017 02:02 PM, Pavel Belous wrote:
>
>
> On 09.03.2017 00:33, David Arcari wrote:
>> When the aquantia device mtu is changed the net_device structure is not
>> updated. As a result the ip command does not properly reflect the mtu
>> change.
>>
&
__dev_close+0x67/0xb0
Fixes: 36a4a50f4048 ("net: ethernet: aquantia: switch to pci_alloc_irq_vectors")
Cc: Christoph Hellwig
Cc: Pavel Belous
Signed-off-by: David Arcari
---
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
ere the driver
has a ndo_change_mtu routine.
Fixes: 5513e16421cb ("net: ethernet: aquantia: Fixes for aq_ndev_change_mtu")
Cc: Pavel Belous
Signed-off-by: David Arcari
---
drivers/net/ethernet/aquantia/atlantic/aq_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers
On 01/18/2017 11:45 AM, David Miller wrote:
> From: David Arcari
> Date: Wed, 18 Jan 2017 08:34:05 -0500
>
>> If the user executes 'ethtool -d' for an interface and the associated
>> get_regs_len() function returns 0, the user will see a call trace from
>> t
If the user executes 'ethtool -d' for an interface and the associated
get_regs_len() function returns 0, the user will see a call trace from
the vmalloc() call in ethtool_get_regs(). This patch modifies
ethtool_get_regs() to avoid the call to vmalloc when the size is zero.
Signed-off
17 matches
Mail list logo