WSL2-Linux-Kernel/net/hsr
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: 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>
2017-08-22 13:40:23 -07:00
..
Kconfig net/hsr: Added support for HSR v1 2016-04-15 17:06:48 -04:00
Makefile net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_device.c net/hsr: Check skb_put_padto() return value 2017-08-22 13:40:23 -07:00
hsr_device.h net/hsr: Added support for HSR v1 2016-04-15 17:06:48 -04:00
hsr_forward.c hsr: fix incorrect warning 2017-06-12 15:21:20 -04:00
hsr_forward.h net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_framereg.c hsr: fix incorrect warning 2017-06-12 15:21:20 -04:00
hsr_framereg.h hsr: fix incorrect warning 2017-06-12 15:21:20 -04:00
hsr_main.c net/hsr: Fix NULL pointer dereference and refcnt bugs when deleting a HSR interface. 2015-03-01 13:40:23 -05:00
hsr_main.h net/hsr: Added support for HSR v1 2016-04-15 17:06:48 -04:00
hsr_netlink.c net: add netlink_ext_ack argument to rtnl_link_ops.newlink 2017-06-26 23:13:21 -04:00
hsr_netlink.h net/hsr: Use list_head (and rcu) instead of array for slave devices. 2014-07-08 11:35:31 -07:00
hsr_slave.c net-next: treewide use is_vlan_dev() helper function. 2017-02-06 16:33:29 -05:00
hsr_slave.h net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00