]> Git Repo - linux.git/commit
ravb: Correct buffer size to map for R-Car Rx
authorNiklas Söderlund <[email protected]>
Fri, 8 Mar 2024 22:42:37 +0000 (23:42 +0100)
committerJakub Kicinski <[email protected]>
Mon, 11 Mar 2024 22:16:57 +0000 (15:16 -0700)
commita290d4cb892da3e9e163a40d0ab70ed1531cdc58
treee07feec040f39ed14a7f8ae263be70b20c7d4255
parent7598531c3aed26ffd98e054d8d9934e44c0e2c25
ravb: Correct buffer size to map for R-Car Rx

When creating a helper to allocate and align an skb one location where
the skb data size was updated was missed. This can lead to a warning
being printed when the memory is being unmapped as it now always unmap
the maximum frame size, instead of the size after it have been
aligned.

This was correctly done for RZ/G2L but missed for R-Car.

Fixes: cfbad64706c1 ("ravb: Create helper to allocate skb and align it")
Signed-off-by: Niklas Söderlund <[email protected]>
Reviewed-by: Sergey Shtylyov <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/ethernet/renesas/ravb_main.c
This page took 0.048182 seconds and 4 git commands to generate.