diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-11-18 10:01:15 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-19 08:33:49 -0800 |
| commit | b5adada61e02c19fce48641283f0031d28981066 (patch) | |
| tree | 66695a46087f75ca088ca42f98a610d92a3152f3 /net/unix/af_unix.c | |
| parent | 7ac60a14d3fce87f0bfd0e50a7bfd5e683c33817 (diff) | |
net: stmmac: stmmac_is_jumbo_frm() len should be unsigned
stmmac_is_jumbo_frm() and the is_jumbo_frm() methods take skb->len
which is an unsigned int. Avoid an implicit cast to "int" via the
method parameter and then incorrectly doing signed comparisons on
this unsigned value.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/E1vLIWR-0000000Ewkf-1Tdx@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
