Re: [PATCH net-next] selftests: net: csum: Clean up recv_verify_packet_ipv6

2024-10-03 Thread patchwork-bot+netdevbpf
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski :

On Mon, 30 Sep 2024 12:29:34 -0400 you wrote:
> Rename ip_len to payload_len since the length in this case refers only
> to the payload, and not the entire IP packet like for IPv4. While we're
> at it, just use the variable directly when calling
> recv_verify_packet_udp/tcp.
> 
> Signed-off-by: Sean Anderson 
> 
> [...]

Here is the summary with links:
  - [net-next] selftests: net: csum: Clean up recv_verify_packet_ipv6
https://git.kernel.org/netdev/net-next/c/d772cc25ccf7

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





Re: [PATCH net-next] selftests: net: csum: Clean up recv_verify_packet_ipv6

2024-09-30 Thread Willem de Bruijn
Sean Anderson wrote:
> On 9/30/24 13:16, Willem de Bruijn wrote:
> > Sean Anderson wrote:
> >> Rename ip_len to payload_len since the length in this case refers only
> >> to the payload, and not the entire IP packet like for IPv4. While we're
> >> at it, just use the variable directly when calling
> >> recv_verify_packet_udp/tcp.
> >> 
> >> Signed-off-by: Sean Anderson 
> > 
> > Not sure such refactoring patches are worth the effort.
> 
> Well, FWIW you commented on this in your review, so I figured I'd send it.
> 
> https://lore.kernel.org/all/66dbb4fcbf560_2af86229...@willemb.c.googlers.com.notmuch/

True. I meant if respun.

Whether such changes are worth it as standalone patch is subjective.
And I get where you're coming from, given that thread.

Reviewed-by: Willem de Bruijn 




Re: [PATCH net-next] selftests: net: csum: Clean up recv_verify_packet_ipv6

2024-09-30 Thread Sean Anderson
On 9/30/24 13:16, Willem de Bruijn wrote:
> Sean Anderson wrote:
>> Rename ip_len to payload_len since the length in this case refers only
>> to the payload, and not the entire IP packet like for IPv4. While we're
>> at it, just use the variable directly when calling
>> recv_verify_packet_udp/tcp.
>> 
>> Signed-off-by: Sean Anderson 
> 
> Not sure such refactoring patches are worth the effort.

Well, FWIW you commented on this in your review, so I figured I'd send it.

https://lore.kernel.org/all/66dbb4fcbf560_2af86229...@willemb.c.googlers.com.notmuch/

--Sean



Re: [PATCH net-next] selftests: net: csum: Clean up recv_verify_packet_ipv6

2024-09-30 Thread Willem de Bruijn
Sean Anderson wrote:
> Rename ip_len to payload_len since the length in this case refers only
> to the payload, and not the entire IP packet like for IPv4. While we're
> at it, just use the variable directly when calling
> recv_verify_packet_udp/tcp.
> 
> Signed-off-by: Sean Anderson 

Not sure such refactoring patches are worth the effort.