Florian Fainelli 414e7d76af net/hsr: Check skb_put_padto() return value
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: ee1c27977284 ("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>
2017-08-22 13:40:23 -07:00
..
2016-04-15 17:06:48 -04:00
2017-06-12 15:21:20 -04:00
2014-07-08 11:35:31 -07:00
2017-06-12 15:21:20 -04:00
2017-06-12 15:21:20 -04:00
2016-04-15 17:06:48 -04:00
2014-07-08 11:35:31 -07:00
2016-04-15 17:06:48 -04:00
2014-07-08 11:35:31 -07:00