Files
linux/net
Florian Fainelli ae59e9220d net/hsr: Check skb_put_padto() return value
commit 414e7d76af upstream.

skb_put_padto() will free the sk_buff passed as reference in case of
errors, but we still need to check its return value and decide what to
do.

Detected by CoverityScan, CID#1416688 ("CHECKED_RETURN")

Fixes: ee1c279772 ("net/hsr: Added support for HSR v1")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-16 09:14:43 +09:00
..
2023-05-16 08:45:10 +09:00
2023-05-15 12:38:05 +09:00
2023-05-15 16:07:59 +09:00
2023-05-15 13:49:35 +09:00
2016-10-20 11:23:08 -04:00
2023-05-16 08:30:10 +09:00
2023-05-15 12:05:35 +09:00
2023-05-15 15:17:38 +09:00
2023-05-16 08:58:39 +09:00