Re: [PATCH] octeontx2-pf: fix "UBSAN: shift-out-of-bounds error"

From: Paolo Abeni
Date: Mon Dec 29 2025 - 10:50:11 EST




On 12/19/25 7:22 AM, Anshumali Gaur wrote:
> This patch ensures that the RX ring size (rx_pending) is not
> set below the permitted length. This avoids UBSAN
> shift-out-of-bounds errors when users passes small or zero
> ring sizes via ethtool -G.
>
> Fixes: d45d8979840d ("octeontx2-pf: Add basic ethtool support")
> Signed-off-by: Anshumali Gaur <agaur@xxxxxxxxxxx>
> Change-Id: I6de6770dbc0dd952725ccd71ce521f801bc7b15b

Please strip the above tag in future submissions.

Thanks,

Paolo