diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-08-21 21:59:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-22 22:40:23 +0200 |
commit | 414e7d76af6d3ec2dd4e9079927dbe0e2e4ca914 (patch) | |
tree | 7c311865268205bccdd49a2739a88e847effcdde /net/9p | |
parent | ipv6: add rcu grace period before freeing fib6_node (diff) | |
download | linux-414e7d76af6d3ec2dd4e9079927dbe0e2e4ca914.tar.xz linux-414e7d76af6d3ec2dd4e9079927dbe0e2e4ca914.zip |
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>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions