Re: [PATCH net] net/hsr: Check skb_put_padto() return value

2017-08-22 Thread David Miller
From: Florian Fainelli Date: Mon, 21 Aug 2017 12:59:10 -0700 > 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") >

Re: [PATCH net] net/hsr: Check skb_put_padto() return value

2017-08-22 Thread David Miller
From: Florian Fainelli Date: Mon, 21 Aug 2017 12:59:10 -0700 > 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:

[PATCH net] net/hsr: Check skb_put_padto() return value

2017-08-21 Thread Florian Fainelli
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

[PATCH net] net/hsr: Check skb_put_padto() return value

2017-08-21 Thread Florian Fainelli
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 ---