mbox series

[net,v2,resend,0/4] net: renesas: rswitch: several fixes

Message ID 20241208095004.69468-1-nikita.yoush@cogentembedded.com (mailing list archive)
Headers show
Series net: renesas: rswitch: several fixes | expand

Message

Nikita Yushchenko Dec. 8, 2024, 9:50 a.m. UTC
This series fixes several glitches found in the rswitch driver.

This repost fixes a mistake in the previous post at
https://lore.kernel.org/netdev/20241206190015.4194153-1-nikita.yoush@cogentembedded.com/

Nikita Yushchenko (4):
  net: renesas: rswitch: fix possible early skb release
  net: renesas: rswitch: fix race window between tx start and complete
  net: renesas: rswitch: fix leaked pointer on error path
  net: renesas: rswitch: avoid use-after-put for a device tree node

 drivers/net/ethernet/renesas/rswitch.c | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)
---
v1: https://lore.kernel.org/lkml/20241202134904.3882317-1-nikita.yoush@cogentembedded.com/

Changes since v1:
- changed target tree to net,
- do not include patches that shall go via net-next,
- added a new patch that fixes a race.

Comments

Yoshihiro Shimoda Dec. 10, 2024, 3:45 a.m. UTC | #1
Hello Nikita-san,

> From: Nikita Yushchenko, Sent: Sunday, December 8, 2024 6:50 PM
> 
> This series fixes several glitches found in the rswitch driver.
> 
> This repost fixes a mistake in the previous post at
<snip URL>

Thank you for your patches!

Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Best regards,
Yoshihiro Shimoda

> 
> Nikita Yushchenko (4):
>   net: renesas: rswitch: fix possible early skb release
>   net: renesas: rswitch: fix race window between tx start and complete
>   net: renesas: rswitch: fix leaked pointer on error path
>   net: renesas: rswitch: avoid use-after-put for a device tree node
> 
>  drivers/net/ethernet/renesas/rswitch.c | 25 ++++++++++++++-----------
>  1 file changed, 14 insertions(+), 11 deletions(-)
> ---
> v1:
<snip URL>
> 
> Changes since v1:
> - changed target tree to net,
> - do not include patches that shall go via net-next,
> - added a new patch that fixes a race.
> 
> --
> 2.39.5
patchwork-bot+netdevbpf@kernel.org Dec. 11, 2024, 3:10 a.m. UTC | #2
Hello:

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

On Sun,  8 Dec 2024 14:50:00 +0500 you wrote:
> This series fixes several glitches found in the rswitch driver.
> 
> This repost fixes a mistake in the previous post at
> https://lore.kernel.org/netdev/20241206190015.4194153-1-nikita.yoush@cogentembedded.com/
> 
> Nikita Yushchenko (4):
>   net: renesas: rswitch: fix possible early skb release
>   net: renesas: rswitch: fix race window between tx start and complete
>   net: renesas: rswitch: fix leaked pointer on error path
>   net: renesas: rswitch: avoid use-after-put for a device tree node
> 
> [...]

Here is the summary with links:
  - [net,v2,resend,1/4] net: renesas: rswitch: fix possible early skb release
    https://git.kernel.org/netdev/net/c/5cb099902b6b
  - [net,v2,resend,2/4] net: renesas: rswitch: fix race window between tx start and complete
    https://git.kernel.org/netdev/net/c/0c9547e6ccf4
  - [net,v2,resend,3/4] net: renesas: rswitch: fix leaked pointer on error path
    https://git.kernel.org/netdev/net/c/bb617328bafa
  - [net,v2,resend,4/4] net: renesas: rswitch: avoid use-after-put for a device tree node
    https://git.kernel.org/netdev/net/c/66b7e9f85b84

You are awesome, thank you!