Files
twx-linux/net
Florian Fainelli 9429a6b7e9 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>
2020-10-01 20:40:01 +02:00
..
2020-08-21 11:01:54 +02:00
…
…
…
…
…
…
…
…
…
…
…
2020-07-22 09:10:48 +02:00
…
…
…
…