[PATCH net v3 0/3] net: lantiq_xrx200: fix errors under memory pressure

Aleksander Jan Bajkowski posted 3 patches 3 years, 7 months ago
drivers/net/ethernet/lantiq_xrx200.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
[PATCH net v3 0/3] net: lantiq_xrx200: fix errors under memory pressure
Posted by Aleksander Jan Bajkowski 3 years, 7 months ago
This series fixes issues that can occur in the driver under memory pressure.
Situations when the system cannot allocate memory are rare, so the mentioned bugs
have been fixed recently. The patches have been tested on a BT Home router with the
Lantiq xRX200 chipset.

Changelog:

  v3:
  - removed netdev_err() log from the first patch

  v2:
  - the second patch has been changed, so that under memory pressure situation
    the driver will not receive packets indefinitely regardless of the NAPI budget,
  - the third patch has been added.

Aleksander Jan Bajkowski (3):
  net: lantiq_xrx200: confirm skb is allocated before using
  net: lantiq_xrx200: fix lock under memory pressure
  net: lantiq_xrx200: restore buffer if memory allocation failed

 drivers/net/ethernet/lantiq_xrx200.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

-- 
2.30.2
Re: [PATCH net v3 0/3] net: lantiq_xrx200: fix errors under memory pressure
Posted by patchwork-bot+netdevbpf@kernel.org 3 years, 7 months ago
Hello:

This series was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 24 Aug 2022 23:54:05 +0200 you wrote:
> This series fixes issues that can occur in the driver under memory pressure.
> Situations when the system cannot allocate memory are rare, so the mentioned bugs
> have been fixed recently. The patches have been tested on a BT Home router with the
> Lantiq xRX200 chipset.
> 
> Changelog:
> 
> [...]

Here is the summary with links:
  - [net,v3,1/3] net: lantiq_xrx200: confirm skb is allocated before using
    https://git.kernel.org/netdev/net/c/c8b043702dc0
  - [net,v3,2/3] net: lantiq_xrx200: fix lock under memory pressure
    https://git.kernel.org/netdev/net/c/c4b6e9341f93
  - [net,v3,3/3] net: lantiq_xrx200: restore buffer if memory allocation failed
    https://git.kernel.org/netdev/net/c/c9c3b1775f80

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html